summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--debian/changelog7
-rwxr-xr-xpre-commit.d/30store-metadata2
2 files changed, 8 insertions, 1 deletions
diff --git a/debian/changelog b/debian/changelog
index 381d27e..d2ac94c 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,10 @@
+etckeeper (1.11) UNRELEASED; urgency=low
+
+ * Fix too broad matching of .gitignored files.
+ Closes: #732339
+
+ -- Joey Hess <joeyh@debian.org> Tue, 17 Dec 2013 22:24:08 -0400
+
etckeeper (1.10) unstable; urgency=low
* Remove lvm/backup from default ignores, because lvm
diff --git a/pre-commit.d/30store-metadata b/pre-commit.d/30store-metadata
index fa5b5c6..ec66764 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 -Fvf "$listfile"
+ grep -xFvf "$listfile"
;;
esac
rm -f "$listfile"