mirror of
https://github.com/git/git.git
synced 2026-02-22 15:51:29 +00:00
When checking out another ref, the reflogs already record from which branch you switched. Do that also when switching to a detached HEAD. While at it, record also when coming _from_ a detached HEAD. Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de> Signed-off-by: Junio C Hamano <gitster@pobox.com>
7.4 KiB
Executable File
7.4 KiB
Executable File