diff options
author | Junio C Hamano <gitster@pobox.com> | 2023-11-02 10:53:24 +0300 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2023-11-02 10:53:24 +0300 |
commit | cd41f66b9dc6b12038e7669e591ad3c593144563 (patch) | |
tree | 92f7779ed859e2cd517da15b590f6c791f2d7cf8 | |
parent | f76827da0e54490b3c4778ce19947b91d6828495 (diff) | |
parent | 63642d58b4b28c3caba6d5ab0c3aa98c4ce54eaa (diff) |
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()
-rw-r--r-- | sequencer.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/sequencer.c b/sequencer.c index 91365e2fe2..42f495c4b4 100644 --- a/sequencer.c +++ b/sequencer.c @@ -4843,10 +4843,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; |