summaryrefslogtreecommitdiff
path: root/t/t7507-commit-verbose.sh
diff options
context:
space:
mode:
authorLibravatar Jeff King <peff@peff.net>2008-11-12 03:23:37 -0500
committerLibravatar Junio C Hamano <gitster@pobox.com>2008-11-12 13:55:17 -0800
commit1324fb6f161ee516eb4c597880847003a42c0c5d (patch)
tree1fcaa3fc04ae1b898eefeb78075e6b1aefdcc6c0 /t/t7507-commit-verbose.sh
parentMerge branch 'jk/maint-commit-v-strip' into jk/commit-v-strip (diff)
downloadtgif-1324fb6f161ee516eb4c597880847003a42c0c5d.tar.xz
status: show "-v" diff even for initial commit
Since we can use the same "diff against empty tree" trick as we do for the non-initial case, it is trivial to make this work. Signed-off-by: Jeff King <peff@peff.net> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t7507-commit-verbose.sh')
-rwxr-xr-xt/t7507-commit-verbose.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/t/t7507-commit-verbose.sh b/t/t7507-commit-verbose.sh
index 519adba80b..da5bd3b5a5 100755
--- a/t/t7507-commit-verbose.sh
+++ b/t/t7507-commit-verbose.sh
@@ -22,7 +22,7 @@ test_expect_success 'setup' '
git commit -F message
'
-test_expect_failure 'initial commit shows verbose diff' '
+test_expect_success 'initial commit shows verbose diff' '
git commit --amend -v
'