author | Thomas Rast <trast@student.ethz.ch> | |
Mon, 12 Oct 2009 20:34:12 +0000 (22:34 +0200) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Mon, 12 Oct 2009 23:22:35 +0000 (16:22 -0700) | ||
commit | 77abcbdc268d048b7a19af405607fb8d14e630ed | |
tree | cded0d495e9d54e2bad36c7af771e6e7c05358d3 | tree | snapshot |
parent | 17225c49d501a304a0ae9ff370ca5cc3ae4afe4d | commit | diff |
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>
'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>
log-tree.c | diff | blob | history | |
t/t4013/diff.log_--decorate=full_--all | diff | blob | history | |
t/t4013/diff.log_--decorate_--all | diff | blob | history |