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

Re: [PATCH] clone: run post-checkout hook when checking out

From
Jeff King <peff@peff.net>
Date
Mar 3, 2009, 07:03 UTC
Message-ID
<20090303070308.GA30609@coredump.intra.peff.net>
In-Reply-To
<7vsklvhzpm.fsf@gitster.siamese.dyndns.org>
On Mon, Mar 02, 2009 at 10:45:09PM -0800, Junio C Hamano wrote:
Show 10 quoted lines
> > Junio, I'm not sure what you want to do with this. It is definitely a
> > behavior change; we have never respected post-checkout hooks in shell
> > git-clone.sh or in the builtin version. However, it seems like an
> > omission rather than an intentional behavior, so I consider this a
> > bugfix.
> 
> I do not mind queueing this to 'pu' and let people fight it out.  I hate
> the local side hooks that have no reason to be there, and consider that
> the existence of the "checkout hook" to be a bug to begin with, but I
> really don't care that deeply anymore.

That sounds fine to me. I don't personally care either way (I didn't even know we had a post-checkout hook until today).

-Peff
Previous: Nanako ShiraishiNext: layer
Message 9 of 11 in “post-checkout hook not run on clone”
  1. layerMar 2, 2009
  2. Jeff KingMar 3, 2009
  3. layerMar 3, 2009
  4. Jeff KingMar 3, 2009
  5. clone: run post-checkout hook when checking outJeff King, Mar 3, 2009
  6. Junio C HamanoMar 3, 2009
  7. Jay SoffianMar 3, 2009
  8. Nanako ShiraishiMar 3, 2009
  9. Jeff KingMar 3, 2009
  10. layerMar 4, 2009
  11. Shawn O. PearceMar 3, 2009

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.