From: Junio C Hamano Date: Fri, 02 Nov 2007 08:49:46 GMT Subject: Re: [PATCH] post-update hook: update working copy Message-ID: <7vd4ut58wl.fsf@gitster.siamese.dyndns.org> In-Reply-To: <472A9B26.2020608@vilain.net> Sam Vilain writes: > changes as you suggested are below; I squashed these and looked the result over, but I see it is contradicting with itself. You do not want to "publish" a live git repository so running git-update-server-info in a repository that is served by this script feels very wrong. How about having this in contrib/hooks/post-update-worktre? By the way, there are quite a few careless places that use shell variables without quoting.