зеркало из https://github.com/microsoft/git.git
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>
This commit is contained in:
Родитель
f14f9803ef
Коммит
592ed5673e
|
@ -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' '
|
||||
|
|
Загрузка…
Ссылка в новой задаче