summaryrefslogtreecommitdiff
path: root/builtin/commit-tree.c
diff options
context:
space:
mode:
authorJens Lehmann <Jens.Lehmann@web.de>2009-10-28 12:40:45 +0100
committerPaul Mackerras <paulus@samba.org>2009-11-03 22:28:42 +1100
commit5c838d23aa02476cfe91b0eea047b6d5857da770 (patch)
tree5aacf98cbdcf9a121e18fbd25f0b1db2140d5ed0 /builtin/commit-tree.c
parent90a77925417646041ac408e591f969d7477be0a9 (diff)
downloadgit-5c838d23aa02476cfe91b0eea047b6d5857da770.tar.gz
gitk: Use the --submodule option for displaying diffs when available
When displaying diffs in a submodule, this makes gitk display the headlines of the commits being diffed, instead of just showing not-quite-helpful SHA-1 pairs, if the underlying git installation supports this. That makes it much easier to evaluate the changes, as it eliminates the need to start a gitk inside the submodule and use the superprojects hashes there to find out what the commits are about. Since the --submodule option of git diff is new in git version 1.6.6, this only uses the --submodule option when a git version of 1.6.6 or higher is detected. Signed-off-by: Jens Lehmann <Jens.Lehmann@web.de> Signed-off-by: Paul Mackerras <paulus@samba.org>
Diffstat (limited to 'builtin/commit-tree.c')
0 files changed, 0 insertions, 0 deletions