git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Joshua Williams <joshua.williams@qlogic.com>
To: git@vger.kernel.org
Subject: prepare-commit-msg hook and git gui
Date: Thu, 04 Sep 2008 13:06:56 -0500	[thread overview]
Message-ID: <48C023C0.10306@qlogic.com> (raw)

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

             reply	other threads:[~2008-09-04 18:23 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-09-04 18:06 Joshua Williams [this message]
2008-09-04 18:38 ` prepare-commit-msg hook and git gui Shawn O. Pearce

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=48C023C0.10306@qlogic.com \
    --to=joshua.williams@qlogic.com \
    --cc=git@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).