diff options
author | Yuqian Yang <crupest@crupest.life> | 2025-03-06 23:01:01 +0800 |
---|---|---|
committer | Yuqian Yang <crupest@crupest.life> | 2025-03-06 23:10:56 +0800 |
commit | 4305a92ee1323eecf737d31b1c3fc5167646d304 (patch) | |
tree | 69b545fe487b5128b5d90358091e5bc024bfc5d0 /services/docker/git-server/hooks/update | |
parent | 22bf952531196f473c52c5a8eb056f88a4c9f047 (diff) | |
download | crupest-4305a92ee1323eecf737d31b1c3fc5167646d304.tar.gz crupest-4305a92ee1323eecf737d31b1c3fc5167646d304.tar.bz2 crupest-4305a92ee1323eecf737d31b1c3fc5167646d304.zip |
feat(git): add private repo support.
Diffstat (limited to 'services/docker/git-server/hooks/update')
-rwxr-xr-x | services/docker/git-server/hooks/update | 2 |
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 |