aboutsummaryrefslogtreecommitdiff
path: root/services/docker/git-server/hooks/update
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
commit09bcff080cb789dbf041651ffd16b6616e99b976 (patch)
treeafd70c932b1d3fcc2c7ee6b4b4dba3d5b2924290 /services/docker/git-server/hooks/update
parentc4b66635e46d3a38e845dc7a6219a6acfff364bc (diff)
downloadcrupest-09bcff080cb789dbf041651ffd16b6616e99b976.tar.gz
crupest-09bcff080cb789dbf041651ffd16b6616e99b976.tar.bz2
crupest-09bcff080cb789dbf041651ffd16b6616e99b976.zip
feat(git): add private repo support.
Diffstat (limited to 'services/docker/git-server/hooks/update')
-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