summaryrefslogtreecommitdiff
path: root/templates/hooks--update
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2008-01-18 06:52:40 (GMT)
committerJunio C Hamano <gitster@pobox.com>2008-01-18 06:52:40 (GMT)
commit5c66d0d4580196094e80c552f141525759a8e249 (patch)
tree4e5015744ad17f3e5b99f654aeebfac11769b6ce /templates/hooks--update
parentc9ced051c3afa6f3da7f59b0dcb92787b2b5c702 (diff)
downloadgit-5c66d0d4580196094e80c552f141525759a8e249.zip
git-5c66d0d4580196094e80c552f141525759a8e249.tar.gz
git-5c66d0d4580196094e80c552f141525759a8e249.tar.bz2
Officially deprecate repo-config.
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'templates/hooks--update')
-rw-r--r--templates/hooks--update6
1 files changed, 3 insertions, 3 deletions
diff --git a/templates/hooks--update b/templates/hooks--update
index bd93dd1..4b69268 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")