Re: [PATCH 6/9] New option --ignore-whitespace for git-apply.
- From
Linus Torvalds <torvalds@osdl.org>
- Date
- Aug 28, 2005, 16:58 UTC
- Message-ID
- <Pine.LNX.4.58.0508280956320.3317@g5.osdl.org>
- In-Reply-To
- <1125242692932-git-send-email-robfitz@273k.net>
On Sun, 28 Aug 2005, Robert Fitzsimons wrote:
> > Allow the user to force a patch to be applied even though there might > be whitespace differences. Added a test case for the new option.
If you ignore whitespace, then you should probably accept patches that are whitespace corrupted in another way: lines missing the ' ' at the beginning. Especially lines that are empty. That's actually the most common form of whitespace corruption there is.
Linus