git/list[1] front-page[2] threads[3] people[4] search[5] about
 

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.

Previous: Sam VilainNext: Andreas Ericsson
Message 4 of 6 in “post-update hook: update working copy”
  1. post-update hook: update working copySam Vilain, Nov 2, 2007
  2. Junio C HamanoNov 2, 2007
  3. Sam VilainNov 2, 2007
  4. Junio C HamanoNov 2, 2007
  5. Andreas EricssonNov 2, 2007
  6. Steven GrimmNov 2, 2007

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.