Git development
 help / color / mirror / Atom feed
From: "W Snyder" <wsnyder@wsnyder.org>
To: git@vger.kernel.org
Subject: git-svn: add/obey a hooks/prepare-commit-msg
Date: Tue, 15 Jul 2008 15:10:25 -0400 (EDT)	[thread overview]
Message-ID: <20080715191025.43B9811BB3@wsnyder.org> (raw)


First, thanks for git-svn!

I'm trying to make a edit to the log message when pulling
from SVN into GIT using git-svn.

It's going bidirectionally, so I don't want to
git-filter-branch.

I tried creating a hooks/prepare-commit-msg script; it works
ok when manually doing a "git-commit" but seems to be
ignored by "git-svn fetch".  I made a hacked-up copy of
git-svn that edits the log message the way I want and it all
seems to work.

Can support for obeying commit-msg hooks be added to
git-svn?  Or, is there another way to do this?

Thanks!

                 reply	other threads:[~2008-07-15 19:11 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=20080715191025.43B9811BB3@wsnyder.org \
    --to=wsnyder@wsnyder.org \
    --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