From 79cb027b3561facd611ab14bcc142ec3ea53d14d Mon Sep 17 00:00:00 2001 From: Marco Hinz Date: Mon, 18 Nov 2013 10:25:33 +0100 Subject: [PATCH] Perforce: diff -du0 -> diff -dU0 Closes #89. --- autoload/sy/repo.vim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/autoload/sy/repo.vim b/autoload/sy/repo.vim index f85a301..da87efe 100644 --- a/autoload/sy/repo.vim +++ b/autoload/sy/repo.vim @@ -163,7 +163,7 @@ endfunction " Function: #get_diff_perforce {{{1 function! sy#repo#get_diff_perforce(path) abort let diffoptions = has_key(s:diffoptions, 'perforce') ? s:diffoptions.perforce : '' - let diff = system('env P4DIFF=diff p4 diff -du0 '. diffoptions .' '. sy#util#escape(a:path)) + let diff = system('env P4DIFF=diff p4 diff -dU0 '. diffoptions .' '. sy#util#escape(a:path)) return v:shell_error ? [0, ''] : [1, diff] endfunction