From: Junio C Hamano Date: Sun, 31 Jul 2005 20:33:58 GMT Subject: Re: [PATCH] Added hook in git-receive-pack Message-ID: <7vr7ded8ax.fsf@assigned-by-dhcp.cox.net> In-Reply-To: Linus Torvalds writes: > This looks sane. However, I also get the strong feeling that > git-update-server-info should be run as part of a hook and not be built > into receive-pack.. > Personally, I simply don't want to update any dumb server info stuff for > my own local repositories - it's not like I'm actually serving those out > anyway. But you are. I can run this just fine: $ git clone http://www.kernel.org/pub/scm/linux/kernel/git/torvalds/git.git/ linus I agree in principle that you should be able to disable the call to update_server_info() from there, but on the other hand once we start doing it, we need to explain people which repo is http capable and which repo is not and why. I was actually thinking about a call to git-update-server-info at the end of git-repack-script. Again, great minds think the opposite way sometimes ;-).