summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xpre-commit.d/30store-metadata2
1 files changed, 1 insertions, 1 deletions
diff --git a/pre-commit.d/30store-metadata b/pre-commit.d/30store-metadata
index d9afbe7..016204b 100755
--- a/pre-commit.d/30store-metadata
+++ b/pre-commit.d/30store-metadata
@@ -28,7 +28,7 @@ filter_ignore() {
grep -Evf "$patternsfile"
;;
git)
- git ls-files --others --ignore --directory > "$ignorefile" || true
+ git ls-files --others --ignore --directory > "$patternsfile" || true
grep -Fvf "$patternsfile"
;;
esac