aboutsummaryrefslogtreecommitdiff
path: root/services/docker/git-server/hooks
diff options
context:
space:
mode:
authorYuqian Yang <crupest@crupest.life>2025-03-06 23:01:01 +0800
committerYuqian Yang <crupest@crupest.life>2025-03-06 23:10:56 +0800
commit4305a92ee1323eecf737d31b1c3fc5167646d304 (patch)
tree69b545fe487b5128b5d90358091e5bc024bfc5d0 /services/docker/git-server/hooks
parent22bf952531196f473c52c5a8eb056f88a4c9f047 (diff)
downloadcrupest-4305a92ee1323eecf737d31b1c3fc5167646d304.tar.gz
crupest-4305a92ee1323eecf737d31b1c3fc5167646d304.tar.bz2
crupest-4305a92ee1323eecf737d31b1c3fc5167646d304.zip
feat(git): add private repo support.
Diffstat (limited to 'services/docker/git-server/hooks')
-rwxr-xr-xservices/docker/git-server/hooks/update2
1 files changed, 1 insertions, 1 deletions
diff --git a/services/docker/git-server/hooks/update b/services/docker/git-server/hooks/update
index 4cfcacc..d6bfc1a 100755
--- a/services/docker/git-server/hooks/update
+++ b/services/docker/git-server/hooks/update
@@ -26,7 +26,7 @@ if [[ -f "$protected_file" ]]; then
done <"$protected_file"
fi
-global_hook="/git/private/git/hooks/update"
+global_hook="/git/hooks/update"
local_hook="$GIT_DIR/hooks/update"
if [[ -x "$global_hook" ]]; then