projects
/
vim
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e2ac10d
)
updated for version 7.0058
author
Bram Moolenaar
<Bram@vim.org>
Tue, 8 Mar 2005 22:29:20 +0000
(22:29 +0000)
committer
Bram Moolenaar
<Bram@vim.org>
Tue, 8 Mar 2005 22:29:20 +0000
(22:29 +0000)
src/diff.c
patch
|
blob
|
history
diff --git
a/src/diff.c
b/src/diff.c
index bc755038da01b695f577ead23a9213a8e1aede5a..305e68f413a68aa83c8e4455c9719b8d6142fe2a 100644
(file)
--- a/
src/diff.c
+++ b/
src/diff.c
@@
-794,6
+794,10
@@
diff_file(tmp_orig, tmp_new, tmp_diff)
+ STRLEN(tmp_diff) + STRLEN(p_srr) + 27));
if (cmd != NULL)
{
+ /* We don't want $DIFF_OPTIONS to get in the way. */
+ if (getenv("DIFF_OPTIONS"))
+ vim_setenv((char_u *)"DIFF_OPTIONS", (char_u *)"");
+
/* Build the diff command and execute it. Always use -a, binary
* differences are of no use. Ignore errors, diff returns
* non-zero when differences have been found. */