diff options
author | Johannes Schindelin <johannes.schindelin@gmx.de> | 2019-03-13 13:16:33 +0300 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2019-03-14 06:46:29 +0300 |
commit | 01710d0a3ff549a2bb5d8a97990393c2d95ce9c1 (patch) | |
tree | 7c19bb81b9db3a365329c302e297038175f06cc8 /sequencer.c | |
parent | 8b637cdab0cb07dbd45d0f0155685455f46981ea (diff) |
sequencer: move stale comment into correct location
Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'sequencer.c')
-rw-r--r-- | sequencer.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sequencer.c b/sequencer.c index f91062718d..79a046d748 100644 --- a/sequencer.c +++ b/sequencer.c @@ -3641,7 +3641,6 @@ static int pick_commits(struct repository *r, res = do_exec(r, item->arg); *end_of_arg = saved; - /* Reread the todo file if it has changed. */ if (res) { if (opts->reschedule_failed_exec) reschedule = 1; @@ -3649,6 +3648,7 @@ static int pick_commits(struct repository *r, res = error_errno(_("could not stat '%s'"), get_todo_path(opts)); else if (match_stat_data(&todo_list->stat, &st)) { + /* Reread the todo file if it has changed. */ todo_list_release(todo_list); if (read_populate_todo(r, todo_list, opts)) res = -1; /* message was printed */ |