| author | Adam Simpkins <adam@adamsimpkins.net> | |
| Sun, 25 May 2008 07:07:21 +0000 (00:07 -0700) | ||
| committer | Junio C Hamano <gitster@pobox.com> | |
| Sun, 25 May 2008 19:06:52 +0000 (12:06 -0700) | ||
| commit | 7528f27dd677bed65d758667a621034b853595b4 | |
| tree | 797d4b938da70fa66485546886c4839315f9933d | tree | snapshot |
| parent | 37a75abc985a25a0612c2c176ed35d438722752d | commit | diff |
log --graph --left-right: show left/right information in place of '*'
With the --graph option, the graph already outputs 'o' instead of '*'
for boundary commits. Make it emit '<' or '>' when --left-right is
specified.
(This change also disables the '^' prefix for UNINTERESTING commits.
The graph code currently doesn't print anything special for these
commits, since it assumes no UNINTERESTING, non-BOUNDARY commits are
displayed. This is potentially a bug if UNINTERESTING non-BOUNDARY
commits can actually be displayed via some code path.)
[jc: squashed the left-right change from Dscho and Adam's fixup into one]
Signed-off-by: Adam Simpkins <adam@adamsimpkins.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
With the --graph option, the graph already outputs 'o' instead of '*'
for boundary commits. Make it emit '<' or '>' when --left-right is
specified.
(This change also disables the '^' prefix for UNINTERESTING commits.
The graph code currently doesn't print anything special for these
commits, since it assumes no UNINTERESTING, non-BOUNDARY commits are
displayed. This is potentially a bug if UNINTERESTING non-BOUNDARY
commits can actually be displayed via some code path.)
[jc: squashed the left-right change from Dscho and Adam's fixup into one]
Signed-off-by: Adam Simpkins <adam@adamsimpkins.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
| Documentation/technical/api-history-graph.txt | diff | blob | history | |
| builtin-rev-list.c | diff | blob | history | |
| graph.c | diff | blob | history | |
| graph.h | diff | blob | history | |
| log-tree.c | diff | blob | history | |
| revision.c | diff | blob | history |