From f6a983c46b7dc4189d763a08b4a01ea87f9b048f Mon Sep 17 00:00:00 2001 From: Franck Cuny Date: Mon, 16 Dec 2024 16:58:58 -0800 Subject: enable per repository hooks See https://gitolite.com/gitolite/cookbook#adding-your-own-update-hooks for more details. --- nix/machines/vm-synology/git.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'nix/machines/vm-synology/git.nix') diff --git a/nix/machines/vm-synology/git.nix b/nix/machines/vm-synology/git.nix index 08ada60..698f375 100644 --- a/nix/machines/vm-synology/git.nix +++ b/nix/machines/vm-synology/git.nix @@ -13,7 +13,7 @@ $RC{UMASK} = 0027; $RC{GIT_CONFIG_KEYS} = 'cgit.desc cgit.hide cgit.ignore cgit.owner'; $RC{LOCAL_CODE} = "$rc{GL_ADMIN_BASE}/local"; - push( @{$RC{ENABLE}}, 'symbolic-ref' ); + push( @{$RC{ENABLE}}, 'symbolic-ref', 'repo-specific-hooks' ); ''; }; -- cgit 1.4.1