diff options
author | Johannes Schindelin <Johannes.Schindelin@gmx.de> | 2007-11-23 00:20:35 +0000 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2007-11-28 16:20:13 -0800 |
commit | c67bbc55f0310de79647457b1fa2a5d3b1746488 (patch) | |
tree | 6162ae4151336e152266c36db60ea2f9d468230e /builtin-diff-index.c | |
parent | sha1_file.c: Fix size_t related printf format warnings (diff) | |
download | tgif-c67bbc55f0310de79647457b1fa2a5d3b1746488.tar.xz |
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>
Diffstat (limited to 'builtin-diff-index.c')
0 files changed, 0 insertions, 0 deletions