merge pull request #10 from rtwo
This commit is contained in:
commit
b7ffe16d0f
@ -239,6 +239,7 @@ People who contributed to sy. Format: Person (Github account)
|
||||
Jeremy Mack (mutewinter)
|
||||
Chong Li (chongli)
|
||||
Robin Munn (rmunn)
|
||||
Martin Hoch (rtwo)
|
||||
|
||||
|
||||
==============================================================================
|
||||
|
@ -313,7 +313,7 @@ endfunction
|
||||
" Functions -> s:repo_get_diff_cvs {{{2
|
||||
function! s:repo_get_diff_cvs(path) abort
|
||||
if executable('cvs')
|
||||
let diff = system('cvs diff -U0 -- '. a:path .' 2>&1 | grep --color=never "^@@ "')
|
||||
let diff = system('cd '. fnameescape(fnamemodify(a:path, ':h')) .' && cvs diff -U0 -- '. fnameescape(fnamemodify(a:path, ':t')) .' | grep --color=never "^@@ "')
|
||||
return v:shell_error ? '' : diff
|
||||
endif
|
||||
endfunction
|
||||
|
Loading…
x
Reference in New Issue
Block a user