Skip to content

Commit 592ed56

Browse files
pcloudsgitster
authored andcommitted
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 <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent f14f980 commit 592ed56

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

t/t2203-add-intent.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ test_expect_success 'cannot commit with i-t-a entry' '
4141
echo frotz >nitfol &&
4242
git add rezrov &&
4343
git add -N nitfol &&
44-
test_must_fail git commit
44+
test_must_fail git commit -m initial
4545
'
4646

4747
test_expect_success 'can commit with an unrelated i-t-a entry in index' '

0 commit comments

Comments
 (0)