summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: f14f980)
raw | patch | inline | side by side (parent: f14f980)
author | Nguyễn Thái Ngọc Duy <pclouds@gmail.com> | |
Wed, 11 Jan 2012 03:21:38 +0000 (10:21 +0700) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Wed, 11 Jan 2012 08:09:36 +0000 (00:09 -0800) |
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>
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>
t/t2203-add-intent.sh | patch | blob | history |
diff --git a/t/t2203-add-intent.sh b/t/t2203-add-intent.sh
index 58a329961e5c269e1b035558db890c9e30375147..25435290a71ae8031762a3e63537fd3a23a8fc90 100755 (executable)
--- a/t/t2203-add-intent.sh
+++ b/t/t2203-add-intent.sh
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' '