diff options
author | Johannes Schindelin <johannes.schindelin@gmx.de> | 2017-01-02 16:27:53 +0100 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2017-01-09 14:57:30 -0800 |
commit | 4b83ce9f6772451d4582dc1f0891790acbdf4eb1 (patch) | |
tree | 1cfe57edc42d6279ddd3de2595a9d183e91e2259 /editor.c | |
parent | sequencer (rebase -i): the todo can be empty when continuing (diff) | |
download | tgif-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