OSDN Git Service
(root)
/
git-core
/
git.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f14f980
)
t2203: fix wrong commit command
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>
t/t2203-add-intent.sh
patch
|
blob
|
history
diff --git
a/t/t2203-add-intent.sh
b/t/t2203-add-intent.sh
index
58a3299
..
2543529
100755
(executable)
--- a/
t/t2203-add-intent.sh
+++ b/
t/t2203-add-intent.sh
@@
-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' '