Permalink
Browse files

Enable git-update-server-info by default.

Change the default setting for hooks.updateserverinfo to true.
  • Loading branch information...
1 parent c85c4a6 commit c52b40020a33541af57d6a61135deb0bd65ee8dd @bmeurer committed Nov 22, 2009
Showing with 3 additions and 3 deletions.
  1. +2 −2 hooks/post-update.d/99updateserverinfo
  2. +1 −1 template/config
@@ -14,7 +14,7 @@
# ------
# hooks.updateserverinfo
# Run git-update-server-info to prepare a packed repository for use
-# over dump transports (i.e. http).
+# over dump transports (i.e. http). This is enabled by default.
#
# --- Safety check
@@ -27,7 +27,7 @@ fi
updateserverinfo=$(git config --bool hooks.updateserverinfo)
# --- Update server info if requested
-if [ x"$updateserverinfo" = x"true" ]; then
+if [ x"$updateserverinfo" != x"false" ]; then
exec git update-server-info
fi
View
@@ -21,4 +21,4 @@
# allowmodifytag=false
# allowdeletebranch=false
# denycreatebranch=false
-# updateserverinfo=false
+# updateserverinfo=true

0 comments on commit c52b400

Please sign in to comment.