sequencer: update `done_nr' when skipping commands in a todo list
authorAlban Gruin <redacted>
Sun, 24 Nov 2019 17:43:29 +0000 (18:43 +0100)
committerJunio C Hamano <redacted>
Mon, 25 Nov 2019 03:24:48 +0000 (12:24 +0900)
commit34065541e3f99ce23ac431032daf9d72072e650b
tree479bcca551cfa38446af8df44e21b5a559cc9b11
parent8638114e063f60fef678d51ca904da7c4e1ab3c0
sequencer: update `done_nr' when skipping commands in a todo list

In a todo list, `done_nr' is the number of commands that were executed
or skipped, but skip_unnecessary_picks() did not update it.

This variable is mostly used by command prompts (ie. git-prompt.sh and
the like).  As in the previous commit, this inconsistent behaviour is
not a problem yet, but it would start to matter at the end of this
series the same reason.

Signed-off-by: Alban Gruin <redacted>
Signed-off-by: Junio C Hamano <redacted>
sequencer.c
git clone https://git.99rst.org/PROJECT