Re: How to ignore space when using 'git send-email' command

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

 



Jeff King <peff@xxxxxxxx> writes:

> On Mon, Jul 13, 2009 at 01:53:11PM -0700, n179911 wrote:
>
>> When i use 'git send-email' command how can I specify it to
>> 'ignore-all-space'?
>
> Have you tried:
>
>   git send-email --ignore-all-space origin
>
> ?
>
>> I see there is an 'ignore-all-space' option in 'git diff' and 'git
>> format-patch', but there is not such option for git send-email.
>
> There are two ways of running send-email:
>
>   1. format-patch your patches into a file or directory, and then
>      send-email on it. In this case, you need to --ignore-all-space when
>      doing the format-patch, which is what is generating the patches.
>
>   2. give send-email revision arguments, which are fed to format-patch
>      (which is what I showed above).  In this case, you can give
>      format-patch arguments directly to send-email.
>
> Does that help?

That may help but it is generally a bad idea to send a patch generated
with ignore-all-spaces and other options, as it means that the receiving
end will get changes that not even you the sender had any chance to test.
--
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]