diff options
author | Johannes Schindelin <johannes.schindelin@gmx.de> | 2019-01-18 07:09:25 -0800 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2019-01-18 10:11:45 -0800 |
commit | 5b2237a8761295a0027c7e055e6dfee0e30d5194 (patch) | |
tree | 62367e3184b84a6caca6acfd24ae977358e6c9e4 /resolve-undo.h | |
parent | rebase: move `reset_head()` into a better spot (diff) | |
download | tgif-5b2237a8761295a0027c7e055e6dfee0e30d5194.tar.xz |
rebase: avoid double reflog entry when switching branches
When switching a branch *and* updating said branch to a different
revision, let's avoid a double entry in HEAD's reflog by first updating
the branch and then adjusting the symbolic ref HEAD.
Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'resolve-undo.h')
0 files changed, 0 insertions, 0 deletions