Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
Merge branch 'sp/maint-dumb-http-pack-reidx'
[gitweb.git]
/
t
/
t3700-add.sh
diff --git
a/t/t3700-add.sh
b/t/t3700-add.sh
index 85eb0fbf96a65ad958422da02ca4975fe687da95..525c9a8fdfb4953612e6946994c8e555f676bfd2 100755
(executable)
--- a/
t/t3700-add.sh
+++ b/
t/t3700-add.sh
@@
-255,4
+255,9
@@
test_expect_success 'git add to resolve conflicts on otherwise ignored path' '
git add track-this
'
+test_expect_success '"add non-existent" should fail' '
+ test_must_fail git add non-existent &&
+ ! (git ls-files | grep "non-existent")
+'
+
test_done