summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorShawn O. Pearce <spearce@spearce.org>2007-08-19 08:18:47 (GMT)
committerJunio C Hamano <gitster@pobox.com>2007-08-19 18:38:53 (GMT)
commit95064cbcc8a51fb9e3c16350e8c567a84d131ad7 (patch)
tree7c00fa2a24d7afee20ecc58f1fefd88f3cb38f84
parent63f328290a0edda617c0881a356c07280fbba459 (diff)
downloadgit-95064cbcc8a51fb9e3c16350e8c567a84d131ad7.zip
git-95064cbcc8a51fb9e3c16350e8c567a84d131ad7.tar.gz
git-95064cbcc8a51fb9e3c16350e8c567a84d131ad7.tar.bz2
Correct documentation of 'reflog show' to explain it shows HEAD
By default 'git reflog show' will show the reflog of 'HEAD' and not the reflog of the current branch. This is most likely due to the work done a while ago as part of the detached HEAD series to allow HEAD to have its own reflog independent of each branch's reflog. Since 'git reflog show' is really just an obscure alias for 'git log -g --abbrev-commit --pretty=oneline' it should behave the same way and its documentation should match. Signed-off-by: Shawn O. Pearce <spearce@spearce.org> Signed-off-by: Junio C Hamano <gitster@pobox.com>
-rw-r--r--Documentation/git-reflog.txt3
1 files changed, 2 insertions, 1 deletions
diff --git a/Documentation/git-reflog.txt b/Documentation/git-reflog.txt
index 89bc9c5..29b7d9f 100644
--- a/Documentation/git-reflog.txt
+++ b/Documentation/git-reflog.txt
@@ -32,7 +32,8 @@ directly by the end users -- instead, see gitlink:git-gc[1].
The subcommand "show" (which is also the default, in the absense of any
subcommands) will take all the normal log options, and show the log of
-the current branch. It is basically an alias for 'git log -g --abbrev-commit
+`HEAD`, which will cover all recent actions, including branch switches.
+It is basically an alias for 'git log -g --abbrev-commit
--pretty=oneline', see gitlink:git-log[1].