diff options
author | Thomas Rast <trast@student.ethz.ch> | 2009-10-12 22:34:12 +0200 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2009-10-12 16:22:35 -0700 |
commit | 77abcbdc268d048b7a19af405607fb8d14e630ed (patch) | |
tree | cded0d495e9d54e2bad36c7af771e6e7c05358d3 /t/t4013 | |
parent | 17225c49d501a304a0ae9ff370ca5cc3ae4afe4d (diff) | |
download | git-77abcbdc268d048b7a19af405607fb8d14e630ed.tar.gz git-77abcbdc268d048b7a19af405607fb8d14e630ed.tar.xz |
Let --decorate show HEAD position
'git log --graph --oneline --decorate --all' is a useful way to get a
general overview of the repository state, similar to 'gitk --all'.
Let it indicate the position of HEAD by loading that ref too, so that
the --decorate code can see it.
Signed-off-by: Thomas Rast <trast@student.ethz.ch>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t4013')
-rw-r--r-- | t/t4013/diff.log_--decorate=full_--all | 2 | ||||
-rw-r--r-- | t/t4013/diff.log_--decorate_--all | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/t/t4013/diff.log_--decorate=full_--all b/t/t4013/diff.log_--decorate=full_--all index 903d9d965..d155e0bab 100644 --- a/t/t4013/diff.log_--decorate=full_--all +++ b/t/t4013/diff.log_--decorate=full_--all @@ -1,5 +1,5 @@ $ git log --decorate=full --all -commit 59d314ad6f356dd08601a4cd5e530381da3e3c64 (refs/heads/master) +commit 59d314ad6f356dd08601a4cd5e530381da3e3c64 (HEAD, refs/heads/master) Merge: 9a6d494 c7a2ab9 Author: A U Thor <author@example.com> Date: Mon Jun 26 00:04:00 2006 +0000 diff --git a/t/t4013/diff.log_--decorate_--all b/t/t4013/diff.log_--decorate_--all index 954210ea9..fd7c3e643 100644 --- a/t/t4013/diff.log_--decorate_--all +++ b/t/t4013/diff.log_--decorate_--all @@ -1,5 +1,5 @@ $ git log --decorate --all -commit 59d314ad6f356dd08601a4cd5e530381da3e3c64 (master) +commit 59d314ad6f356dd08601a4cd5e530381da3e3c64 (HEAD, master) Merge: 9a6d494 c7a2ab9 Author: A U Thor <author@example.com> Date: Mon Jun 26 00:04:00 2006 +0000 |