]> git.ipfire.org Git - thirdparty/git.git/commit - t/t2200-add-update.sh
test for add with non-existent pathspec
authorChris Packham <judge.packham@gmail.com>
Tue, 9 Feb 2010 22:30:48 +0000 (17:30 -0500)
committerJunio C Hamano <gitster@pobox.com>
Wed, 17 Feb 2010 06:53:40 +0000 (22:53 -0800)
commit1e7ef746d3a635742690817fefe00b66a044dfe5
tree5379ff99f9d1dfd23cf20624739444a60979c71c
parent81f45e7dc4e930ffc17dce3e377e6adc3eb3d8de
test for add with non-existent pathspec

Add a test for 'git add -u pathspec' and 'git add pathspec' where
pathspec does not exist. The expected result is that git add exits with
an error message and an appropriate exit code.

Signed-off-by: Chris Packham <judge.packham@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
t/t2200-add-update.sh
t/t3700-add.sh