summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNguyễn Thái Ngọc Duy <pclouds@gmail.com>2012-01-11 10:21:38 +0700
committerJunio C Hamano <gitster@pobox.com>2012-01-11 00:09:36 -0800
commit592ed5673e3074a0d7e0a6d6626faa783c327c29 (patch)
treedd7e087f875edd4b9b8b950ce351cd305c4e1dd8
parentf14f9803ef13e972371e3f4bce69bca13dd1cd2d (diff)
downloadgit-592ed5673e3074a0d7e0a6d6626faa783c327c29.tar.gz
t2203: fix wrong commit command
Add commit message to avoid commit's aborting due to the lack of commit message, not because there are INTENT_TO_ADD entries in index. Signed-off-by: Nguyễn Thái Ngọc Duy <pclouds@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
-rwxr-xr-xt/t2203-add-intent.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/t/t2203-add-intent.sh b/t/t2203-add-intent.sh
index 58a329961e..25435290a7 100755
--- a/t/t2203-add-intent.sh
+++ b/t/t2203-add-intent.sh
@@ -41,7 +41,7 @@ test_expect_success 'cannot commit with i-t-a entry' '
echo frotz >nitfol &&
git add rezrov &&
git add -N nitfol &&
- test_must_fail git commit
+ test_must_fail git commit -m initial
'
test_expect_success 'can commit with an unrelated i-t-a entry in index' '