diff options
author | Ian Jackson <ijackson@chiark.greenend.org.uk> | 2022-11-11 23:15:14 +0000 |
---|---|---|
committer | Ian Jackson <ijackson@chiark.greenend.org.uk> | 2022-11-11 23:15:14 +0000 |
commit | f950b20d51c4c0cd4b342e20f0d9f163adc5a377 (patch) | |
tree | f7b26f200669aaf476c8d77a00dd32cd36121c0c /dgit | |
parent | 6e4722452273d2777e814e1dfeb98b89a1c33a09 (diff) |
dgit push-build: Populate the split brain cache if necessary
Closes: #1019454
Reported-by: Simon McVittie <smcv@debian.org>
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
Diffstat (limited to 'dgit')
-rwxr-xr-x | dgit | 9 |
1 files changed, 9 insertions, 0 deletions
@@ -5086,6 +5086,15 @@ sub prep_push () { sub cmd_push_built { prep_push(); + if (do_split_brain()) { + # We may need to make the split brain view now, bedcause if + # the user built the package other than with dgit they may + # have a correct .dsc, but not populated the cache. + # + # Do this only in split brain mode, since we don't actually + # want to update HEAD! + build_maybe_quilt_fixup(); + } dopush(); } |