Skip to content

Commit

Permalink
t2203: fix wrong commit command
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
pclouds authored and gitster committed Jan 11, 2012
1 parent f14f980 commit 592ed56
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion t/t2203-add-intent.sh
Expand Up @@ -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' '
Expand Down

0 comments on commit 592ed56

Please sign in to comment.