I have reverted back to first version problem appeared v8.1.0366.

Tested and error "E959: Invalid diff format" appears as expected.

I have set Windows' system Environment Variable 
CYGWIN and set it to value nodosfilewarning 
and rebooted Windows to make sure this variable is really set.

Testing...

cd \cygwin\bin
diff -a --binary C:\Users\igor\AppData\Local\Temp\file1.txt 
C:\Users\igor\AppData\Local\Temp\file2.txt >c:\aaa\difftest_cygwin.log 2>&1

And now Cygwin diff output is exactly the same as vim diff output:
1c1
< aaa
---
> bbb

with no Cygwin Windows like path warning anymore at the top of output.

Repeated the tests using:
gvim -u NONE
and the rest of the commands from my first post
and there is NO PROBLEM!!!

Just a note:
In Cygwin documentation it is stated it is "strongly deprecated" to use Windows
paths, because Unix like programs may have unexpected problems.
I am writing a lot of Cygwin scripts and I want to get a Cygwin warning
when Windows path is used instead of POSIX.

-- 
-- 
You received this message from the "vim_dev" 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

--- 
You received this message because you are subscribed to the Google Groups 
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Raspunde prin e-mail lui