summaryrefslogtreecommitdiff
path: root/t
diff options
context:
space:
mode:
authorNguyễn Thái Ngọc Duy <pclouds@gmail.com>2012-01-11 03:21:38 (GMT)
committerJunio C Hamano <gitster@pobox.com>2012-01-11 08:09:36 (GMT)
commit592ed5673e3074a0d7e0a6d6626faa783c327c29 (patch)
treedd7e087f875edd4b9b8b950ce351cd305c4e1dd8 /t
parentf14f9803ef13e972371e3f4bce69bca13dd1cd2d (diff)
downloadgit-592ed5673e3074a0d7e0a6d6626faa783c327c29.zip
git-592ed5673e3074a0d7e0a6d6626faa783c327c29.tar.gz
git-592ed5673e3074a0d7e0a6d6626faa783c327c29.tar.bz2
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>
Diffstat (limited to 't')
-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 58a3299..2543529 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' '