From ffb6e06214dba9257a322286cbdaabfd40be3a59 Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Sun, 17 Jul 2016 18:53:46 -0400 Subject: 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. --- commit.d/20store-metadata | 1 + 1 file changed, 1 insertion(+) create mode 120000 commit.d/20store-metadata (limited to 'commit.d/20store-metadata') 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 -- cgit v1.2.3