about summary refs log tree commit diff
path: root/nix/machines/vm-synology/git.nix
diff options
context:
space:
mode:
authorFranck Cuny <franck@fcuny.net>2024-12-16 16:58:58 -0800
committerFranck Cuny <franck@fcuny.net>2024-12-16 16:58:58 -0800
commitf6a983c46b7dc4189d763a08b4a01ea87f9b048f (patch)
treed9acb1b71f554323713498467fb7df0a6e7a2d4e /nix/machines/vm-synology/git.nix
parentuse fish in justfile (diff)
downloadworld-f6a983c46b7dc4189d763a08b4a01ea87f9b048f.tar.gz
enable per repository hooks
See
https://gitolite.com/gitolite/cookbook#adding-your-own-update-hooks
for more details.
Diffstat (limited to 'nix/machines/vm-synology/git.nix')
-rw-r--r--nix/machines/vm-synology/git.nix2
1 files changed, 1 insertions, 1 deletions
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' );
     '';
   };