Re: [PATCHv3] git apply: option to ignore whitespace differences

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

 



Giuseppe Bilotta <giuseppe.bilotta@xxxxxxxxx> writes:

> I was thinking more about consistency than 'correctness'  in this
> case, actually. Typical scenario would be: patch is created for a file
> using a given whitespace convention (e.g. 4 spaces). File is updated
> to match the rest of the project (tabs). Patch would now introduce the
> wrong whitespace convention for the new lines.

You are assuming that the patch is always based on a wrong convention and
the target always uses the right convention.  In general, however, you
cannot tell which way the "consisitency" should go --- often you have to
apply a patch based on a fixed codebase to an older version.


--
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]