Re: Remove leading/trailing whitespace from commit messages when importing from Subversion?
- From
- Mike Swanson <mikeonthecomputer@gmail.com>
- Date
- Mar 10, 2009, 06:15 UTC
- Message-ID
- <49B6057E.2020706@gmail.com>
- 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!