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>
Nguyễn Thái Ngọc Duy committed
Jan 11, 2012 at 10:21 UTC
592ed5673e3074a0d7e0a6d6626faa783c327c29
1 file changed
+1
-1
t/t2203-add-intent.sh
+1
-1
@@ -41,7 +41,7 @@ test_expect_success 'cannot commit with i-t-a entry' '
41
echo frotz >nitfol &&
42
git add rezrov &&
43
git add -N nitfol &&
44
- test_must_fail git commit
44
+ test_must_fail git commit -m initial
45
'
46
47
test_expect_success 'can commit with an unrelated i-t-a entry in index' '