diff options
-rwxr-xr-x | lib/gitolite3/hooks/common/post-receive | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/gitolite3/hooks/common/post-receive b/lib/gitolite3/hooks/common/post-receive index 4a869f3..9731280 100755 --- a/lib/gitolite3/hooks/common/post-receive +++ b/lib/gitolite3/hooks/common/post-receive @@ -28,7 +28,7 @@ if [ -e "$GIT_WORK_TREE" ]; then git checkout -f "$WEB_BRANCH" chmod -R u=rw,go=r,a+X "$GIT_WORK_TREE" else - git clone --quiet --branch "$WEB_BRANCH" + git clone --quiet --branch "$WEB_BRANCH" . chmod -R u=rw,go=r,a+X "$GIT_WORK_TREE" if [ -n "$WEB_EXEC_INIT" ]; then ( cd "$WEB_BASEDIR" && echo "$WEB_EXEC_INIT" | sh - ) |