Browse Source

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>
maint
Nguyễn Thái Ngọc Duy 13 years ago committed by Junio C Hamano
parent
commit
592ed5673e
  1. 2
      t/t2203-add-intent.sh

2
t/t2203-add-intent.sh

@ -41,7 +41,7 @@ test_expect_success 'cannot commit with i-t-a entry' '
echo frotz >nitfol && echo frotz >nitfol &&
git add rezrov && git add rezrov &&
git add -N nitfol && 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' ' test_expect_success 'can commit with an unrelated i-t-a entry in index' '

Loading…
Cancel
Save