Re: Please make git-am handle \r\n-damaged patches
- From
- H. Peter Anvin <hpa@zytor.com>
- Date
- Aug 3, 2009, 22:31 UTC
- Message-ID
- <4A77655E.3010902@zytor.com>
- In-Reply-To
- <fabb9a1e0908031521q579a9bf0ta834b2c9253e58e9@mail.gmail.com>
On 08/03/2009 03:21 PM, Sverre Rabbelier wrote:
Show 13 quoted lines
> Heya, > > On Mon, Aug 3, 2009 at 15:13, H. Peter Anvin<hpa@zytor.com> wrote: >> Yes, that's what they suggested, too. Like I need an extra step in my >> patch process. > > Write your own git-lazy-am.sh and put it in your path? > > cat > git-lazy-am.sh << EOF > #!/bin/bash > > dos2unix "$@" | git am > EOF
Yes, I can do that. However, having this integrated into git am would be nicer not just for me but for everyone else.
(Currently I'm just using apply.whitespace = fix, which also solves the issue.)
-hpa