From: Ian Jackson Date: Sun, 22 Apr 2018 22:23:15 +0000 (+0100) Subject: git-debrebase: Add a several missing snags_maybe_bail calls X-Git-Tag: archive/debian/5.0~59 X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=dgit.git;a=commitdiff_plain;h=b33a6ea64a28a1122d75ce3a0d4808211e0734d3;hp=8ce880e160f707bcf241f0e07a12614f624be96e git-debrebase: Add a several missing snags_maybe_bail calls That these were missing is a bit alarming. I am about to add some more defences against missing this check. Signed-off-by: Ian Jackson --- diff --git a/git-debrebase b/git-debrebase index e3fea7c8..6259dfe8 100755 --- a/git-debrebase +++ b/git-debrebase @@ -901,6 +901,7 @@ sub do_launder_head ($) { my $old = get_head(); record_ffq_auto(); my ($tip,$breakwater) = walk $old; + snags_maybe_bail(); update_head_postlaunder $old, $tip, $reflogmsg; return ($tip,$breakwater); } @@ -1094,6 +1095,7 @@ sub do_stitch ($;$) { my $dangling_head = get_head(); keycommits $dangling_head, $unclean,$unclean,$unclean; + snags_maybe_bail(); stitch($dangling_head, $ffq_prev, $gdrlast, $ffq_prev_commitish, $prose); } @@ -1429,6 +1431,7 @@ sub cmd_convert_to_gbp () { push @deferred_updates, "delete $ffq"; push @deferred_updates, "delete $gdrlast"; } + snags_maybe_bail(); update_head_checkout $head, $out, "convert to gbp (v0)"; print <