Patrick Mezard <pmezard@gmail.com> [Wed, 23 Dec 2009 19:31:48 +0100] rev 10130
test-import-eol: improve binary hunks test
Patrick Mezard <pmezard@gmail.com> [Wed, 23 Dec 2009 19:31:48 +0100] rev 10129
diffhelpers: handle CRLF in hunk last line without EOL
Note that diff generation code always ends last lines without newline with a
LF, so this is a tolerance.
Patrick Mezard <pmezard@gmail.com> [Wed, 23 Dec 2009 19:31:48 +0100] rev 10128
patch: drop eol normalization fast-path for 'lf' and 'crlf'
With eolmode set to 'lf' or 'crlf' we avoided the hunk duplication and
normalization by reading the input patch in text mode. Dropping this
optimization simplifies code expectations for a small overhead.
The change in test-mq-eol comes from a tolerance to CRLF instead of LF for last
lines without newlines being broken by this revision. This tolerance was only
partially supported and will be added again in a better way.
Patrick Mezard <pmezard@gmail.com> [Wed, 23 Dec 2009 19:31:47 +0100] rev 10127
patch: fix eolmode=auto with new files
If target file does not exist or has no eol, current code was normalizing eols
to LF. Preserve patch file eols instead.
Martin Geisler <mg@lazybytes.net> [Wed, 23 Dec 2009 19:18:03 +0100] rev 10126
Merge with stable
Christian Ebert <blacktrash@gmx.net> [Wed, 23 Dec 2009 17:46:48 +0000] rev 10125
tests highlight, keyword: load extensions with "ext ="