Re: Please make git-am handle \r\n-damaged patches

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 08/04/2009 12:21 AM, Sverre Rabbelier wrote:
Heya,

On Mon, Aug 3, 2009 at 15:13, H. Peter Anvin<hpa@xxxxxxxxx>  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

Even better than putting it on the path,

[alias]
	tbam = ~/libexec/git/git-lazy-am.sh

Paolo
--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]