mirror of
https://github.com/git/git.git
synced 2024-10-28 04:49:43 +01:00
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()
This commit is contained in:
commit
cd41f66b9d
1 changed files with 0 additions and 4 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue