summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--debian/changelog1
-rwxr-xr-xpre-commit.d/30store-metadata2
2 files changed, 2 insertions, 1 deletions
diff --git a/debian/changelog b/debian/changelog
index 2dba9a4..73cf0de 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -13,6 +13,7 @@ etckeeper (0.58) UNRELEASED; urgency=low
and avoids a separate call to git add -u.
Thanks to Miklos Vajna, whose patch in 2008 was deferred
because -A was then too new, and languished in a branch until found today.
+ * Optimised metadata storage.
-- Joey Hess <joeyh@debian.org> Fri, 25 Nov 2011 12:00:55 -0400
diff --git a/pre-commit.d/30store-metadata b/pre-commit.d/30store-metadata
index e51f64f..ce0bc02 100755
--- a/pre-commit.d/30store-metadata
+++ b/pre-commit.d/30store-metadata
@@ -102,7 +102,7 @@ generate_metadata() {
printf "maybe chown %s %s\n", uidname($uid), $_;
}
if ($gid != $)) {
- printf "maybe chgrp %s %s\n", gidname($uid), $_;
+ printf "maybe chgrp %s %s\n", gidname($gid), $_;
}
printf "maybe chmod %04o %s\n", $mode & 07777, $_;
'