Skip to content

Commit 564a8b3

Browse files
committed
sequencer (rebase -i): handle the stopped-sha file
In interactive rebases, the `stopped-sha` file is written when a commit could not be cherry-picked, to allow recording the commit together with its replacement when continuing. This information will be used to rewrite notes at the end of the interactive rebase. Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
1 parent 03b1380 commit 564a8b3

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
@@ -1515,6 +1515,7 @@ static int pick_commits(struct todo_list *todo_list, struct replay_opts *opts)
15151515
unlink(author_script());
15161516
unlink(stopped_sha());
15171517
unlink(git_path_rebase_amend());
1518+
unlink(stopped_sha());
15181519
}
15191520
if (item->command <= TODO_SQUASH) {
15201521
res = do_pick_commit(item->command, item->commit,

0 commit comments

Comments
 (0)