# git-svn: add/obey a hooks/prepare-commit-msg

1 messages from 2008-07-15 to 2008-07-15. Participants: W Snyder.
Thread: https://gitlist.dev/t/14468

## W Snyder, 2008-07-15 19:10

Subject: git-svn: add/obey a hooks/prepare-commit-msg
Message-ID: <20080715191025.43B9811BB3@wsnyder.org>
URL: https://gitlist.dev/e/20080715191025.43B9811BB3%40wsnyder.org

```

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!

```
