X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=templates%2Fhooks--update;h=4b69268fd027874cdc84e08be1a7b0adabe29bd6;hb=81a24b52c164b96d37c8c50799a624e2e8ce8a57;hp=bd93dd1977b2a19e0dcded9c31ec37e78b331af6;hpb=9b433e44964202befd175f1f28687067b8bd058f;p=git.git diff --git a/templates/hooks--update b/templates/hooks--update index bd93dd197..4b69268fd 100644 --- a/templates/hooks--update +++ b/templates/hooks--update @@ -37,9 +37,9 @@ if [ -z "$refname" -o -z "$oldrev" -o -z "$newrev" ]; then fi # --- Config -allowunannotated=$(git-repo-config --bool hooks.allowunannotated) -allowdeletebranch=$(git-repo-config --bool hooks.allowdeletebranch) -allowdeletetag=$(git-repo-config --bool hooks.allowdeletetag) +allowunannotated=$(git config --bool hooks.allowunannotated) +allowdeletebranch=$(git config --bool hooks.allowdeletebranch) +allowdeletetag=$(git config --bool hooks.allowdeletetag) # check for no description projectdesc=$(sed -e '1q' "$GIT_DIR/description")