Re: [PATCH] post-update hook: update working copy
- From
Junio C Hamano <gitster@pobox.com>
- Date
- Nov 2, 2007, 08:49 UTC
- Message-ID
- <7vd4ut58wl.fsf@gitster.siamese.dyndns.org>
- In-Reply-To
- <472A9B26.2020608@vilain.net>
Sam Vilain <sam@vilain.net> 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.