author | Paul Mackerras <paulus@samba.org> | |
Mon, 9 Jul 2007 12:45:47 +0000 (22:45 +1000) | ||
committer | Paul Mackerras <paulus@samba.org> | |
Mon, 9 Jul 2007 12:45:47 +0000 (22:45 +1000) | ||
commit | c961b228bcab390a1b42d517b6ed5a1edb55efed | |
tree | 11a8d0920ffa911bc7e3c5a461bd381215146dc8 | tree | snapshot |
parent | 8c93917d23ec7ef998154a6b2ac91ed1a1bf5e3a | commit | diff |
gitk: Use git log and add support for --left-right
This is based on patches from Linus Torvalds and Junio Hamano, so the
ideas here are theirs.
This makes gitk use "git log -z --pretty=raw" instead of "git rev-list"
to generate the list of commits, and also makes it grok the "<" and ">"
markers that git log (and git rev-list) output with the --left-right
flag to indicate which side of a symmetric diff a commit is reachable
from. Left-side commits are drawn with a triangle pointing leftwards
instead of a circle, and right-side commits are drawn with a triangle
pointing rightwards. The commitlisted list is used to store the
left/right information as well as the information about whether each
commit is on the boundary.
Signed-off-by: Paul Mackerras <paulus@samba.org>
This is based on patches from Linus Torvalds and Junio Hamano, so the
ideas here are theirs.
This makes gitk use "git log -z --pretty=raw" instead of "git rev-list"
to generate the list of commits, and also makes it grok the "<" and ">"
markers that git log (and git rev-list) output with the --left-right
flag to indicate which side of a symmetric diff a commit is reachable
from. Left-side commits are drawn with a triangle pointing leftwards
instead of a circle, and right-side commits are drawn with a triangle
pointing rightwards. The commitlisted list is used to store the
left/right information as well as the information about whether each
commit is on the boundary.
Signed-off-by: Paul Mackerras <paulus@samba.org>
gitk | diff | blob | history |