From 66a9ccfcc78c9ab84db1d05b5074a08bd46b9173 Mon Sep 17 00:00:00 2001 From: Julian Prein Date: Tue, 12 Jul 2022 21:10:53 +0200 Subject: [PATCH] meta:install.conf: Link entire .git/hooks folder Instead of linking the globs of meta/git/hooks, create a link for the entire folder. This way new hooks work automagically. --- meta/install.conf.yaml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/meta/install.conf.yaml b/meta/install.conf.yaml index da745f6..acd1ab6 100644 --- a/meta/install.conf.yaml +++ b/meta/install.conf.yaml @@ -93,9 +93,9 @@ create: true glob: true path: .ssh/* - .git/hooks/: + .git/hooks: create: true - glob: true - path: meta/git/hooks/* + relative: true + path: ../meta/git/hooks .envrc: path: meta/envrc