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>
Johannes Schindelin committed
Mar 13, 2019 at 03:16 UTC
01710d0a3ff549a2bb5d8a97990393c2d95ce9c1
1 file changed
+1
-1
sequencer.c
+1
-1
@@ -3641,7 +3641,6 @@ static int pick_commits(struct repository *r,
3641
res = do_exec(r, item->arg);
3642
*end_of_arg = saved;
3643
3644
- /* Reread the todo file if it has changed. */
3644
if (res) {
3645
if (opts->reschedule_failed_exec)
3646
reschedule = 1;
@@ -3649,6 +3648,7 @@ static int pick_commits(struct repository *r,
3648
res = error_errno(_("could not stat '%s'"),
3649
get_todo_path(opts));
3650
else if (match_stat_data(&todo_list->stat, &st)) {
3651
+ /* Reread the todo file if it has changed. */
3652
todo_list_release(todo_list);
3653
if (read_populate_todo(r, todo_list, opts))
3654
res = -1; /* message was printed */