diff options
author | Ian Jackson <ijackson@chiark.greenend.org.uk> | 2018-07-08 20:05:26 +0100 |
---|---|---|
committer | Ian Jackson <ijackson@chiark.greenend.org.uk> | 2018-07-09 00:29:00 +0100 |
commit | 81e93ac2f3ac0b129f0d5e77d055b99053105892 (patch) | |
tree | bd9d8b4c44a68959546d2a6e8781ddba8ba70fa9 /git-debrebase | |
parent | 9cda023c0c49449a1d5862483df8d785e062765b (diff) |
git-debrebase convert-from-gbp: Add ffq check
Check that the result will not count as having diverged. This will
usually turn failures to make the ff pseudomerge into -fdiverged.
Related to #903132.
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
Diffstat (limited to 'git-debrebase')
-rwxr-xr-x | git-debrebase | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/git-debrebase b/git-debrebase index 7b2e4f3..f002225 100755 --- a/git-debrebase +++ b/git-debrebase @@ -1658,7 +1658,7 @@ sub cmd_convert_from_gbp () { print STDERR "cannot stitch in dgit view: $@\n"; } - snags_maybe_bail(); + snags_maybe_bail_early(); my $work; @@ -1696,6 +1696,8 @@ sub cmd_convert_from_gbp () { } }; + ffq_check $work; + snags_maybe_bail(); update_head_checkout $old_head, $work, 'convert-from-gbp'; } |