From: Mike Swanson <mikeonthecomputer@gmail.com>
To: "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 23:15:26 -0700 [thread overview]
Message-ID: <49B6057E.2020706@gmail.com> (raw)
In-Reply-To: <49B5FCD3.8060707@oak.homeunix.org>
Marcel M. Cary wrote:
> Try "git filter-branch --msg-filter your-filter-command".
>
> Marcel
>
Thank you, after-the-fact works fine too. :)
If anyone else searches the archives and wonders how I did it, this sed
command is it: sed -e "s/^[ \t]*//;s/[ \t]*$//;/^$/d"
Unix rules!
prev parent reply other threads:[~2009-03-10 6:17 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
2009-03-10 6:15 ` Mike Swanson [this message]
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=49B6057E.2020706@gmail.com \
--to=mikeonthecomputer@gmail.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).