summaryrefslogtreecommitdiff
path: root/builtin/commit.c
diff options
context:
space:
mode:
authorAlban Gruin <alban.gruin@gmail.com>2019-11-24 18:43:30 +0100
committerJunio C Hamano <gitster@pobox.com>2019-11-25 12:24:49 +0900
commit3f34f2d8a4da82ddda48a591cbb091f24a5f3e58 (patch)
treef888e2325fad1006b0050b569837f19135ddf880 /builtin/commit.c
parent34065541e3f99ce23ac431032daf9d72072e650b (diff)
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 'builtin/commit.c')
0 files changed, 0 insertions, 0 deletions