From 1df5fa561896a288e10b44951fe0af57410d17f0 Mon Sep 17 00:00:00 2001 From: Victor Westerlund Date: Sun, 14 Sep 2025 12:09:13 +0200 Subject: [PATCH] feat(git): use tracked git hooks (#40) Reviewed-on: https://codeberg.org/vlw/dotfiles/pulls/40 --- Makefile | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 13f4d73..18ef70c 100644 --- a/Makefile +++ b/Makefile @@ -1,4 +1,4 @@ -install: dotfiles +install: dotfiles git-hooks # Install dotfiles in users home directory dotfiles: @@ -8,3 +8,7 @@ dotfiles: else \ echo "Dotfiles already installed or folder is missing"; \ fi + +# Use tracked git hooks +git-hooks: + git config --local core.hooksPath .local/share/git/hooks