All of lore.kernel.org
 help / color / mirror / Atom feed
* prepare-commit-msg hook and git gui
@ 2008-09-04 18:06 Joshua Williams
  2008-09-04 18:38 ` Shawn O. Pearce
  0 siblings, 1 reply; 2+ messages in thread
From: Joshua Williams @ 2008-09-04 18:06 UTC (permalink / raw)
  To: git

I've created a prepare-commit-msg hook that composes a basic
template needed to be filled out by users doing a commit.  When
I issue a 'git commit' it works great.  However, if I use 'git gui'/
'git citool' then the template never appears in the "commit
message".  It appears that the prepare-commit-msg hook is
either not run while invoking git gui or git gui is not properly
displaying the generated commit message in the commit
message pain.  Is there some git gui configuration that needs to
be done to accomplish this?  Is this a git gui bug?  Or is it
simply some kind of driver error?

The commit-msg hook does appear to be run after hitting the
commit button in git gui and git gui does display the proper
output from the commit-msg hook.  It appears that this is a
prepare-commit-msg only issue...

Thanks for any info!

- Josh

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2008-09-04 18:40 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-09-04 18:06 prepare-commit-msg hook and git gui Joshua Williams
2008-09-04 18:38 ` Shawn O. Pearce

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.