aboutsummaryrefslogtreecommitdiff
path: root/t
diff options
context:
space:
mode:
authorPeter Baumann <Peter.B.Baumann@stud.informatik.uni-erlangen.de>2006-11-23 10:36:33 +0100
committerJunio C Hamano <junkio@cox.net>2006-11-24 02:35:26 -0800
commit0f03ca946142bd656c1af9ff811cb9efbc8314da (patch)
tree0f3114f2afe704ea8356355debf8427af9ca68c5 /t
parent3fbe2d54d7d91378934df7b16d70dc5877586fae (diff)
downloadgit-0f03ca946142bd656c1af9ff811cb9efbc8314da.tar.gz
git-0f03ca946142bd656c1af9ff811cb9efbc8314da.tar.xz
config option log.showroot to show the diff of root commits
This allows one to see a root commit as a diff in commands like git-log, git-show and git-whatchanged. Signed-off-by: Peter Baumann <Peter.B.Baumannn@stud.informatik.uni-erlangen.de> Signed-off-by: Junio C Hamano <junkio@cox.net>
Diffstat (limited to 't')
-rwxr-xr-xt/t4013-diff-various.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/t/t4013-diff-various.sh b/t/t4013-diff-various.sh
index 71c454356..ed37141b6 100755
--- a/t/t4013-diff-various.sh
+++ b/t/t4013-diff-various.sh
@@ -73,6 +73,7 @@ test_expect_success setup '
for i in 1 2; do echo $i; done >>dir/sub &&
git update-index file0 dir/sub &&
+ git repo-config log.showroot false &&
git commit --amend &&
git show-branch
'