path: root/t/t4013
diff options
authorJunio C Hamano <>2015-03-10 13:53:21 (GMT)
committerJunio C Hamano <>2015-03-10 22:17:48 (GMT)
commit51ff0f27bc6bfe83da7304ef9db77f3a2a4a47b0 (patch)
tree704f940bc954f30ffa1491803fef24278b2b94ab /t/t4013
parent4ab682e213d292fb921d21d25208a74ce47e2c19 (diff)
log: decorate HEAD with branch name
Currently, log decorations do not indicate which branch is checked out and whether HEAD is detached. When branch foo is checked out, change the "HEAD, foo" part of the decorations to "HEAD -> foo". This serves to indicate both ref decorations (helped by the spacing) as well as their relationshsip. As a consequence, "HEAD" without any " -> " denotes a detached HEAD now. Signed-off-by: Michael J Gruber <> Signed-off-by: Junio C Hamano <>
Diffstat (limited to 't/t4013')
1 files changed, 1 insertions, 1 deletions
diff --git a/t/t4013/diff.log_--decorate_--all b/t/t4013/diff.log_--decorate_--all
index 27d3eab..3aa16a9 100644
--- a/t/t4013/diff.log_--decorate_--all
+++ b/t/t4013/diff.log_--decorate_--all
@@ -5,7 +5,7 @@ Date: Mon Jun 26 00:06:00 2006 +0000
Rearranged lines in dir/sub
-commit 59d314ad6f356dd08601a4cd5e530381da3e3c64 (HEAD, master)
+commit 59d314ad6f356dd08601a4cd5e530381da3e3c64 (HEAD -> master)
Merge: 9a6d494 c7a2ab9
Author: A U Thor <>
Date: Mon Jun 26 00:04:00 2006 +0000