Subject: Re: [PATCH] post-update hook: update working copy

From: Junio C Hamano <[email-masked]>
Date: Fri, 02 Nov 2007 01:49:46 -0700

Sam Vilain <[email-masked]> 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.