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

Re: [RFC] git gui doesn't call post-checkout hook on checkout or clone

From
Shawn O. Pearce <spearce@spearce.org>
Date
Mar 23, 2009, 00:18 UTC
Message-ID
<20090323001827.GG23521@spearce.org>
In-Reply-To
<20090322223309.GA22428@sigill.intra.peff.net>
Jeff King <peff@peff.net> wrote:
> On Sun, Mar 22, 2009 at 04:49:05PM +0100, Jens Lehmann wrote:
> 
> > When checking out or cloning via git gui, the post-checkout
> > hook is not called. This is a bit unexpected ...
...
Show 6 quoted lines
> > But is this the right way to do this? Seems like we could
> > surprise some users of git read-tree with this change in
> > behaviour.
> 
> No, I think plumbing should not generally call hooks. The right solution
> would be to have git-gui call the post-checkout hook.

+1. git-gui should be invoking the hook. It doesn't. Patches are welcome. I don't really have time these days for doing my own development on git-gui, but well coded patches are still accepted.

-- 
Shawn.
Previous: Jeff King
Message 3 of 3 in “[RFC] git gui doesn't call post-checkout hook on checkout or clone”
  1. Jens LehmannMar 22, 2009
  2. Jeff KingMar 22, 2009
  3. Shawn O. PearceMar 23, 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.