Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
Add global and system-wide gitattributes
[gitweb.git]
/
t
/
t2200-add-update.sh
diff --git
a/t/t2200-add-update.sh
b/t/t2200-add-update.sh
index 912075063b9946d38a9ff72621cb80bcf2c05399..2ad2819a345af53ff6ab0b7c28fa313f1a0a5956 100755
(executable)
--- a/
t/t2200-add-update.sh
+++ b/
t/t2200-add-update.sh
@@
-176,4
+176,9
@@
test_expect_success 'add -u resolves unmerged paths' '
'
+test_expect_success '"add -u non-existent" should fail' '
+ test_must_fail git add -u non-existent &&
+ ! (git ls-files | grep "non-existent")
+'
+
test_done