author | Pavel Roskin <proski@gnu.org> | |
Fri, 11 Nov 2005 15:09:12 +0000 (10:09 -0500) | ||
committer | Junio C Hamano <junkio@cox.net> | |
Sat, 19 Nov 2005 08:00:37 +0000 (00:00 -0800) | ||
commit | fd913b39101c6ff185e76e459479621c9b475fa1 | |
tree | 07a6e051435ee87700e23f7674c09bf6c4ad3bc0 | tree | snapshot |
parent | e246483dc5b56d7deb04a93b0aa08aba4cde0625 | commit | diff |
gitk: use git-diff-tree --no-commit-id
gitk switched to use git-diff-tree with one argument in gettreediffs and
getblobdiffs. git-diff-tree with one argument outputs commit ID in from
of the patch. This causes an empty line after "Comments" in the lower
right pane. Also, the diff in the lower left pane has the commit ID,
which is useless there.
This patch makes git use the newly added -no-commit-id option for
git-diff-tree to suppress commit ID. It also removes the p variable in
both functions, since it has become useless after switching to the
one-argument invocation for git-diff-tree.
Signed-off-by: Pavel Roskin <proski@gnu.org>
Signed-off-by: Junio C Hamano <junkio@cox.net>
gitk switched to use git-diff-tree with one argument in gettreediffs and
getblobdiffs. git-diff-tree with one argument outputs commit ID in from
of the patch. This causes an empty line after "Comments" in the lower
right pane. Also, the diff in the lower left pane has the commit ID,
which is useless there.
This patch makes git use the newly added -no-commit-id option for
git-diff-tree to suppress commit ID. It also removes the p variable in
both functions, since it has become useless after switching to the
one-argument invocation for git-diff-tree.
Signed-off-by: Pavel Roskin <proski@gnu.org>
Signed-off-by: Junio C Hamano <junkio@cox.net>
gitk | diff | blob | history |