summaryrefslogtreecommitdiff
path: root/sequencer.h
diff options
context:
space:
mode:
authorPhillip Wood <phillip.wood@dunelm.org.uk>2021-09-23 15:26:20 +0000
committerJunio C Hamano <gitster@pobox.com>2021-09-24 08:56:27 -0700
commitdfa8bae5a20ead0737413fec5c7bb754fe538abe (patch)
tree2acb6bf0415e2f03e99a485dba1e1d1996b586dd /sequencer.h
parent225bc32a989d7a22fa6addafd4ce7dcd04675dbf (diff)
sequencer.c: factor out a function
This code is heavily indented and obscures the high level logic within the loop. Let's move it to its own function before modifying it in the next commit. Note that there is a subtle change in behavior if the todo list cannot be reread. Previously todo_list->current was incremented before returning, now it returns immediately. Signed-off-by: Phillip Wood <phillip.wood@dunelm.org.uk> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'sequencer.h')
0 files changed, 0 insertions, 0 deletions