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

Re: Why there is no pre-checkout hook?

From
Jonathan Nieder <jrnieder@gmail.com>
Date
Oct 15, 2010, 08:30 UTC
Message-ID
<20101015083022.GA8763@burratino>
In-Reply-To
<87hbgn27f0.fsf@telefonica.net>
Óscar Fuentes wrote:
> [Subject: Why there is no pre-checkout hook?]
Because you can use your script in place of "git checkout".
Or: because no one's come up with a compelling use case for
one.
Or: because no one implemented it and demonstrated how to
use it yet.
Take your pick. :)
Previous: Óscar FuentesNext: Junio C Hamano
Message 2 of 3 in “Why there is no pre-checkout hook?”
  1. Óscar FuentesOct 15, 2010
  2. Jonathan NiederOct 15, 2010
  3. Junio C HamanoOct 15, 2010

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.