Merge branch 'ag/sequencer-todo-updates'
commit37c2619d91aa63d4c7c07b6f8de5ff2e1c2472b2
authorJunio C Hamano <gitster@pobox.com>
Mon, 16 Dec 2019 21:08:31 +0000 (16 13:08 -0800)
committerJunio C Hamano <gitster@pobox.com>
Mon, 16 Dec 2019 21:08:31 +0000 (16 13:08 -0800)
tree858b4acd16eb8e27bd0fdd317a661aca5a051810
parent571fb9657318b710825cde19b70f7da4392abd44
parent393adf7a6f600adca8cb75ec4e7136d523e8840d
Merge branch 'ag/sequencer-todo-updates'

Reduce unnecessary reading of state variables back from the disk
during sequencer operation.

* ag/sequencer-todo-updates:
  sequencer: directly call pick_commits() from complete_action()
  rebase: fill `squash_onto' in get_replay_opts()
  sequencer: move the code writing total_nr on the disk to a new function
  sequencer: update `done_nr' when skipping commands in a todo list
  sequencer: update `total_nr' when adding an item to a todo list
builtin/rebase.c
sequencer.c