[sysadmin-bin: 149/168] Configure repos for secure and fast Git 1.6.6+ http method



commit 548dee9fd5db20d3b98d45f68661122827470819
Author: Olav Vitters <olav vitters nl>
Date:   Thu Feb 17 13:11:34 2011 +0100

    Configure repos for secure and fast Git 1.6.6+ http method

 gnomify-repos |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/gnomify-repos b/gnomify-repos
index 1632281..7892253 100755
--- a/gnomify-repos
+++ b/gnomify-repos
@@ -9,6 +9,8 @@ gnomify_repo() {
     git config core.sharedrepository 1
     git config hooks.emailprefix ""
     git config hooks.mailinglist commits-list gnome org
+    git config http.getanyfile false
+    git config http.receivepack false
 
     ln -sf /home/admin/gitadmin-bin/gnome-pre-receive $GIT_DIR/hooks/pre-receive
     ln -sf /home/admin/gitadmin-bin/gnome-post-receive $GIT_DIR/hooks/post-receive



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]