summaryrefslogtreecommitdiff
path: root/editor.c
diff options
context:
space:
mode:
authorLibravatar Johannes Schindelin <johannes.schindelin@gmx.de>2017-01-02 16:27:53 +0100
committerLibravatar Junio C Hamano <gitster@pobox.com>2017-01-09 14:57:30 -0800
commit4b83ce9f6772451d4582dc1f0891790acbdf4eb1 (patch)
tree1cfe57edc42d6279ddd3de2595a9d183e91e2259 /editor.c
parentsequencer (rebase -i): the todo can be empty when continuing (diff)
downloadtgif-4b83ce9f6772451d4582dc1f0891790acbdf4eb1.tar.xz
sequencer (rebase -i): update refs after a successful rebase
An interactive rebase operates on a detached HEAD (to keep the reflog of the original branch relatively clean), and updates the branch only at the end. Now that the sequencer learns to perform interactive rebases, it also needs to learn the trick to update the branch before removing the directory containing the state of the interactive rebase. We introduce a new head_ref variable in a wider scope than necessary at the moment, to allow for a later patch that prints out "Successfully rebased and updated <ref>". Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'editor.c')
0 files changed, 0 insertions, 0 deletions