Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
git checkout's reflog: even when detaching the HEAD, say from where
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>
- Loading branch information