Merge branch 'ob/sequencer-remove-dead-code'

Code clean-up.

* ob/sequencer-remove-dead-code:
  sequencer: remove unreachable exit condition in pick_commits()
maint
Junio C Hamano 2023-09-20 10:44:58 -07:00
commit 0e72b42a52
1 changed files with 0 additions and 4 deletions

View File

@ -4854,10 +4854,6 @@ static int pick_commits(struct repository *r,
struct strbuf head_ref = STRBUF_INIT, buf = STRBUF_INIT;
struct stat st;

/* Stopped in the middle, as planned? */
if (todo_list->current < todo_list->nr)
return 0;

if (read_oneliner(&head_ref, rebase_path_head_name(), 0) &&
starts_with(head_ref.buf, "refs/")) {
const char *msg;