On 21/01/10 01:49, John Little wrote:
If I run GNU diff against those two file,
line is not reported as being a difference.
Vim just uses an external diff command, and vim on windows installs
one in the same directory as gvim.exe, which is just Gnu diff. Mine
says to diff --version
diff - GNU diffutils version 2.7
You can tell vim which diff to use with the 'diffexpr' option, and
adjust settings with 'diffopt'. I imagine that you're using
different options when you "run GNU diff" to get different results.
See :h 'diffopt'
Regards, John
Yes, Vim requires an ed-style diff, while nowadays most people prefer
either "context" or "unified" diffs, which are more human-readable and
also provide more security against applying a patch in the wrong place.
Best regards,
Tony.
--
Lubarsky's Law of Cybernetic Entomology:
There's always one more bug.
--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php
To unsubscribe from this group, send email to vim_use+unsubscribegooglegroups.com or
reply to this email with the words "REMOVE ME" as the subject.