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

Re: Git extra hook, pre-upload

From
Junio C Hamano <gitster@pobox.com>
Date
Jan 2, 2019, 17:27 UTC
Message-ID
<xmqq1s5vkm1a.fsf@gitster-ct.c.googlers.com>
In-Reply-To
<87k1jqem1p.fsf@evledraar.gmail.com>
Ævar Arnfjörð Bjarmason <avarab@gmail.com> writes:
Show 8 quoted lines
> We do not have such a pre-upload hook, but could have one. There's an
> old thread from 2011 detailing some potential downsides:
>
> https://public-inbox.org/git/CAMK1S_jaEWV=F6iHKZw_6u5ncDW0bPosNx-03W9bOLOfEEEY1Q@mail.gmail.com/
>
> FWIW I think most servers who find themselves needing such a hook use it
> to e.g. log how many fetches a given repository might serve, and end up
> instead wrapping git commands in some custom shell.
Thanks for a concise summary.
Previous: Ævar Arnfjörð BjarmasonNext: Jeff King
Message 3 of 5 in “Git extra hook, pre-upload”
  1. Xheroz 128Dec 30, 2018
  2. Ævar Arnfjörð BjarmasonDec 30, 2018
  3. Junio C HamanoJan 2, 2019
  4. Jeff KingJan 3, 2019
  5. Jeff KingJan 6, 2019

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.