Re: Un-paged commit messages in git filter-branch's commit-filter?
- From
Jeff King <peff@peff.net>
- Date
- Jun 16, 2016, 09:59 UTC
- Message-ID
- <20160616095947.GA15988@sigill.intra.peff.net>
- In-Reply-To
- <0McmFl-1aux6M2oV7-00Hv9A@mail.gmx.com>
On Mon, Jun 13, 2016 at 08:28:18AM +0200, Stefan Tauner wrote:
Show 10 quoted lines
> I am trying to do a major cleanup of the repository in one of my > projects (and switch from git-svn to native git). I have developed a > commit-filter script over the last months that massages partially > dreadful commit messages into something acceptable. While I am not 100% > sure I think that upgrading git has broken it partially. AFAICT since > the update the commit-filter does not get the original message anymore > but at least the subject/first paragraph is run through a pager or > something similar: > The first line is broken into multiple lines (i.e. some line breaks are > inserted about every 72 characters where none have been before).
There are some output formats that will wrap lines, but by default, filter-branch should not be using them (and I could not reproduce the issue in a simple test). Can you show us what your commit-filter looks like?
-Peff