summaryrefslogtreecommitdiff
path: root/t
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2017-10-03 15:42:49 +0900
committerJunio C Hamano <gitster@pobox.com>2017-10-03 15:42:49 +0900
commit9257d3d7db17be306875f41b842716d275a3f76a (patch)
treea768e0be9e989fd68185e7521229e10f247f0c9a /t
parent98c57ea6f00282ed6ab245cf6842972b07c5a6fd (diff)
parent2d94dd2fc6428ff5f0a18223aadaaecd49fd18e5 (diff)
downloadgit-9257d3d7db17be306875f41b842716d275a3f76a.tar.gz
Merge branch 'sb/submodule-diff-header-fix'
Error message tweak. * sb/submodule-diff-header-fix: submodule: correct error message for missing commits
Diffstat (limited to 't')
-rwxr-xr-xt/t4059-diff-submodule-not-initialized.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/t/t4059-diff-submodule-not-initialized.sh b/t/t4059-diff-submodule-not-initialized.sh
index cd70fd5192..49bca7b48d 100755
--- a/t/t4059-diff-submodule-not-initialized.sh
+++ b/t/t4059-diff-submodule-not-initialized.sh
@@ -95,7 +95,7 @@ test_expect_success 'submodule not initialized in new clone' '
git clone . sm3 &&
git -C sm3 diff-tree -p --no-commit-id --submodule=log HEAD >actual &&
cat >expected <<-EOF &&
- Submodule sm1 $smhead1...$smhead2 (not initialized)
+ Submodule sm1 $smhead1...$smhead2 (commits not present)
EOF
test_cmp expected actual
'