Sam Vilain [off-list ref] 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.