summaryrefslogtreecommitdiff
path: root/commit.d/20store-metadata
diff options
context:
space:
mode:
authorJoey Hess <joeyh@joeyh.name>2016-07-17 18:53:46 -0400
committerJoey Hess <joeyh@joeyh.name>2016-07-17 18:53:46 -0400
commitffb6e06214dba9257a322286cbdaabfd40be3a59 (patch)
tree0ca8e34640f28c9e91589cf748609c318b39a7c6 /commit.d/20store-metadata
parent85fbaef5d42dec91b77b4520fce5b4e83af7945c (diff)
Make etckeeper commit store metadata changes.
The pre-commit hook has always (and continues) to do that, but pre-commit is only run when there are changes to tommit. This makes metadata-only changes get committed. Note that the reason the pre-commit hook continues to also store metadata changes is to support manual git commit run in /etc.
Diffstat (limited to 'commit.d/20store-metadata')
l---------commit.d/20store-metadata1
1 files changed, 1 insertions, 0 deletions
diff --git a/commit.d/20store-metadata b/commit.d/20store-metadata
new file mode 120000
index 0000000..5698d64
--- /dev/null
+++ b/commit.d/20store-metadata
@@ -0,0 +1 @@
+../pre-commit.d/30store-metadata \ No newline at end of file