From 214332b020b03e603d84ab3327f1c17509b49c47 Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Tue, 17 Dec 2013 22:27:46 -0400 Subject: actually, need to munge input, it may use ./ before filenames --- pre-commit.d/30store-metadata | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'pre-commit.d/30store-metadata') diff --git a/pre-commit.d/30store-metadata b/pre-commit.d/30store-metadata index ec66764..9e2792f 100755 --- a/pre-commit.d/30store-metadata +++ b/pre-commit.d/30store-metadata @@ -29,7 +29,7 @@ filter_ignore() { ;; git) git ls-files --others --ignore --exclude-standard --directory > "$listfile" || true - grep -xFvf "$listfile" + sed 's/^\.\///' | grep -xFvf "$listfile" ;; esac rm -f "$listfile" -- cgit v1.2.3