From f1a9699e6005585760fc3e165a703cb9069de130 Mon Sep 17 00:00:00 2001 From: Sebastian Harl Date: Sat, 22 Feb 2014 19:09:55 -0800 Subject: [PATCH] t/coverage.sh: Don't git reset but test the current, possibly dirty, code. Instead, only get back files which are not included in the tarball. --- t/coverage.sh | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/t/coverage.sh b/t/coverage.sh index 4600897..8be94cf 100755 --- a/t/coverage.sh +++ b/t/coverage.sh @@ -38,8 +38,7 @@ if test -d "$srcdir"/.git/; then cp -a "$srcdir"/.git . # reset all files which are not part of the tarball - # (e.g. .gitignore, .travis.yml which would else cause a "dirty" version) - git reset --hard + git checkout HEAD .gitignore .travis.yml fi ./configure --enable-gcov --disable-shared CFLAGS="-O0 -g" -- 2.30.2