Skip to content

Commit 957783d

Browse files
committed
sequencer: use the recursive merge gently
In interactive rebase mode, the sequencer needs to be able to clean up after a failed recursive merge, e.g. when an untracked file would be overwritten and the merge (cherry-pick, actually) has to be rescheduled. Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
1 parent f289a6e commit 957783d

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

sequencer.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -395,6 +395,7 @@ static int do_recursive_merge(struct commit *base, struct commit *next,
395395
read_cache();
396396

397397
init_merge_options(&o);
398+
o.gently = 1;
398399
o.ancestor = base ? base_label : "(empty tree)";
399400
o.branch1 = "HEAD";
400401
o.branch2 = next ? next_label : "(empty tree)";

0 commit comments

Comments
 (0)