Skip to content

Commit 0e72b42

Browse files
committed
Merge branch 'ob/sequencer-remove-dead-code'
Code clean-up. * ob/sequencer-remove-dead-code: sequencer: remove unreachable exit condition in pick_commits()
2 parents 8c71f08 + 63642d5 commit 0e72b42

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
@@ -4854,10 +4854,6 @@ static int pick_commits(struct repository *r,
48544854
struct strbuf head_ref = STRBUF_INIT, buf = STRBUF_INIT;
48554855
struct stat st;
48564856

4857-
/* Stopped in the middle, as planned? */
4858-
if (todo_list->current < todo_list->nr)
4859-
return 0;
4860-
48614857
if (read_oneliner(&head_ref, rebase_path_head_name(), 0) &&
48624858
starts_with(head_ref.buf, "refs/")) {
48634859
const char *msg;

0 commit comments

Comments
 (0)