diff options
author | Alban Gruin <alban.gruin@gmail.com> | 2019-11-24 18:43:30 +0100 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2019-11-25 12:24:49 +0900 |
commit | 3f34f2d8a4da82ddda48a591cbb091f24a5f3e58 (patch) | |
tree | f888e2325fad1006b0050b569837f19135ddf880 /t/t5529-push-errors.sh | |
parent | sequencer: update `done_nr' when skipping commands in a todo list (diff) | |
download | tgif-3f34f2d8a4da82ddda48a591cbb091f24a5f3e58.tar.xz |
sequencer: move the code writing total_nr on the disk to a new function
The total number of commands can be used to show the progression of the
rebasing in a shell. It is written to the disk by read_populate_todo()
when the todo list is loaded from sequencer_continue() or
pick_commits(), but not by complete_action().
This moves the part writing total_nr to a new function so it can be
called from complete_action().
Signed-off-by: Alban Gruin <alban.gruin@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t5529-push-errors.sh')
0 files changed, 0 insertions, 0 deletions