author | Adam Simpkins <adam@adamsimpkins.net> | |
Sat, 24 May 2008 02:24:11 +0000 (19:24 -0700) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Sun, 25 May 2008 18:43:22 +0000 (11:43 -0700) | ||
commit | 37a75abc985a25a0612c2c176ed35d438722752d | |
tree | aabc26028c98601ca65361a4e22e44aa6ca9dd20 | tree | snapshot |
parent | 2ecbd0a0db0f9d59a5df02a6daeb87e611171fa4 | commit | diff |
graph API: don't print branch lines for uninteresting merge parents
Previously, the graphing code printed lines coming out of a merge commit
for all of its parents, even if some of them were uninteresting. Now it
only prints lines for interesting commits.
For example, for a merge commit where only the first parent is
interesting, the code now prints:
* merge commit
* interesting child
instead of:
M merge commit
|\
* interesting child
Signed-off-by: Adam Simpkins <adam@adamsimpkins.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Previously, the graphing code printed lines coming out of a merge commit
for all of its parents, even if some of them were uninteresting. Now it
only prints lines for interesting commits.
For example, for a merge commit where only the first parent is
interesting, the code now prints:
* merge commit
* interesting child
instead of:
M merge commit
|\
* interesting child
Signed-off-by: Adam Simpkins <adam@adamsimpkins.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
graph.c | diff | blob | history |