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

Re: git gui and commit-msg hook

From
Shawn O. Pearce <spearce@spearce.org>
Date
Jan 21, 2008, 04:39 UTC
Message-ID
<20080121043947.GG24004@spearce.org>
In-Reply-To
<7vmyqz3ijb.fsf@gitster.siamese.dyndns.org>
Junio C Hamano <gitster@pobox.com> wrote:
Show 14 quoted lines
> "Shawn O. Pearce" <spearce@spearce.org> writes:
> 
> > "Blucher, Guy" <Guy.Blucher@dsto.defence.gov.au> wrote:
> >> I've just setup a commit-msg hook in my local repository.  It works as
> >> advertised from the command-line when using git commit, but if I use git
> >> gui to do the commit, then the hook is ignored.
> >
> > Fixed in my latest git-gui master, which will be gitgui-0.9.2 or .3.
> >
> > I apparently missed git 1.5.4-rc4, but will have to ask Junio nicely
> > if this can be included into 1.5.4 final.
> 
> Absolutely.  That's a consistency-and-usability bugfix, isn't
> it?

I consider it a bug fix for git-gui, but some may say its a new feature since git-gui didn't have a commit-msg hook before this change. :)

Anyway, its now published on repo.or.cz if you want to include it into your next published git.git master to try and get it some more testing before 1.5.4 goes final.

I'm pretty happy with what's in my master right now. I'm actually tempted to tag it gitgui-0.9.2 and say that's the final version we're including in 1.5.4.

-- 
Shawn.
Previous: Junio C Hamano
Message 5 of 5 in “git gui and commit-msg hook”
  1. Blucher, GuyJan 16, 2008
  2. Shawn O. PearceJan 18, 2008
  3. Shawn O. PearceJan 21, 2008
  4. Junio C HamanoJan 21, 2008
  5. Shawn O. PearceJan 21, 2008

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.