]> git.ipfire.org Git - thirdparty/git.git/commit - sequencer.h
sequencer: add update-ref command
authorDerrick Stolee <derrickstolee@github.com>
Tue, 19 Jul 2022 18:33:38 +0000 (18:33 +0000)
committerJunio C Hamano <gitster@pobox.com>
Tue, 19 Jul 2022 19:49:03 +0000 (12:49 -0700)
commita97d79163e16e2d3777ab4d86c8f006f260c2836
tree29ca62fe322c23ef3e96704dc14f954860d7e2ce
parentd7ce9a220196b995117252bb236baf135c9b704f
sequencer: add update-ref command

Add the boilerplate for an "update-ref" command in the sequencer. This
connects to the current no-op do_update_ref() which will be filled in
after more connections are created.

The syntax in the todo list will be "update-ref <ref-name>" to signal
that we should store the current commit as the value for updating
<ref-name> at the end of the rebase.

Signed-off-by: Derrick Stolee <derrickstolee@github.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
rebase-interactive.c
sequencer.c
sequencer.h