Skip to content

Commit cd41f66

Browse files
committed
Merge branch 'ob/sequencer-remove-dead-code' into maint-2.42
Code clean-up. * ob/sequencer-remove-dead-code: sequencer: remove unreachable exit condition in pick_commits()
2 parents f76827d + 63642d5 commit cd41f66

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

sequencer.c

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4843,10 +4843,6 @@ static int pick_commits(struct repository *r,
48434843
struct strbuf head_ref = STRBUF_INIT, buf = STRBUF_INIT;
48444844
struct stat st;
48454845

4846-
/* Stopped in the middle, as planned? */
4847-
if (todo_list->current < todo_list->nr)
4848-
return 0;
4849-
48504846
if (read_oneliner(&head_ref, rebase_path_head_name(), 0) &&
48514847
starts_with(head_ref.buf, "refs/")) {
48524848
const char *msg;

0 commit comments

Comments
 (0)