From: "Marcel M. Cary" <marcel@oak.homeunix.org>
To: Mike Swanson <mikeonthecomputer@gmail.com>
Cc: "git@vger.kernel.org" <git@vger.kernel.org>
Subject: Re: Remove leading/trailing whitespace from commit messages when importing from Subversion?
Date: Mon, 09 Mar 2009 22:38:27 -0700 [thread overview]
Message-ID: <49B5FCD3.8060707@oak.homeunix.org> (raw)
In-Reply-To: <49B5DB01.8080206@gmail.com>
Mike Swanson wrote:
> I was wondering if it's possible to removing leading and trailing
> whitespace (tabs, newlines, spaces) from commit messages when importing
> from Subversion via git-svn.
>
> I've got a repository with tens of thousands of commits, and not all of
> the messages are entered... sanely. I need to know whether it is
> possible to clean these up when transfering the repository to Git.
Try "git filter-branch --msg-filter your-filter-command".
Marcel
next prev parent reply other threads:[~2009-03-10 5:40 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-03-10 3:14 Remove leading/trailing whitespace from commit messages when importing from Subversion? Mike Swanson
2009-03-10 5:38 ` Marcel M. Cary [this message]
2009-03-10 6:15 ` Mike Swanson
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=49B5FCD3.8060707@oak.homeunix.org \
--to=marcel@oak.homeunix.org \
--cc=git@vger.kernel.org \
--cc=mikeonthecomputer@gmail.com \
/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).