@@ -421,6 +421,7 @@ fn-git-clone() {
|
|||||||
|
|
||||||
rsync -a "$APP_CLONE_ROOT/.git/" "$APP_ROOT"
|
rsync -a "$APP_CLONE_ROOT/.git/" "$APP_ROOT"
|
||||||
fn-git-create-hook "$APP"
|
fn-git-create-hook "$APP"
|
||||||
|
fn-git-cmd "$APP_CLONE_ROOT" config --add core.bare true
|
||||||
}
|
}
|
||||||
|
|
||||||
fn-git-cmd() {
|
fn-git-cmd() {
|
||||||
@@ -459,6 +460,8 @@ fn-git-fetch() {
|
|||||||
GIT_TERMINAL_PROMPT=0 fn-git-cmd "$APP_ROOT" fetch --update-head-ok remote
|
GIT_TERMINAL_PROMPT=0 fn-git-cmd "$APP_ROOT" fetch --update-head-ok remote
|
||||||
fn-git-cmd "$APP_ROOT" update-ref "refs/heads/$DOKKU_DEPLOY_BRANCH" "$GIT_REF"
|
fn-git-cmd "$APP_ROOT" update-ref "refs/heads/$DOKKU_DEPLOY_BRANCH" "$GIT_REF"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
fn-git-cmd "$APP_CLONE_ROOT" config --add core.bare true
|
||||||
}
|
}
|
||||||
|
|
||||||
fn-git-last-updated-at() {
|
fn-git-last-updated-at() {
|
||||||
|
|||||||
Reference in New Issue
Block a user