From de07f25bc29abf7aa44cdfdb956f810b14d08d1b Mon Sep 17 00:00:00 2001 From: Andreas Fischer Date: Mon, 7 Apr 2014 14:06:20 +0200 Subject: Use git checkout on directory as some files may not be in git resulting in, e.g.: error: pathspec 'tests/data/lorem-copy.txt' did not match any file(s) known to git. error: pathspec 'tests/data/testimage-copy.png' did not match any file(s) known to git. --- autotest.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/autotest.sh b/autotest.sh index b88e9cf68b4..4030fc0250e 100755 --- a/autotest.sh +++ b/autotest.sh @@ -139,7 +139,7 @@ function execute_tests { cd $BASEDIR # revert changes to tests/data - git checkout tests/data/* + git checkout tests/data # reset data directory rm -rf $DATADIR -- cgit v1.2.3