summaryrefslogtreecommitdiff
path: root/pre-commit.d/30store-metadata
diff options
context:
space:
mode:
authorJoey Hess <joey@kitenet.net>2013-09-04 21:45:22 -0400
committerJoey Hess <joey@kitenet.net>2013-09-04 21:45:22 -0400
commit128a0838f6a7c70a013f020d2284de46c04ebcfc (patch)
tree009c8287cce0a2d150c33c664717b690bf9ce2d7 /pre-commit.d/30store-metadata
parente98fb4c5cf3f756e1f2f5a25b88900ba16e80dfa (diff)
Fix git update-ignore syntax. Closes: #721873
Diffstat (limited to 'pre-commit.d/30store-metadata')
-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 3bb52e5..fa5b5c6 100755
--- a/pre-commit.d/30store-metadata
+++ b/pre-commit.d/30store-metadata
@@ -28,7 +28,7 @@ filter_ignore() {
grep -Evf "$listfile"
;;
git)
- git ls-files --others --ignore --directory > "$listfile" || true
+ git ls-files --others --ignore --exclude-standard --directory > "$listfile" || true
grep -Fvf "$listfile"
;;
esac