Create a gist now

Instantly share code, notes, and snippets.

diff -r 5cf390d4fbe1 runtime/autoload/netrw.vim
--- a/runtime/autoload/netrw.vim Thu Jan 17 18:34:06 2013 +0100
+++ b/runtime/autoload/netrw.vim Mon Jan 21 14:40:13 2013 +0900
@@ -6090,6 +6090,7 @@
call netrw#ErrorMsg(s:WARNING,"consider setting g:netrw_localcopycmd<".g:netrw_localcopycmd."> to something that works",80)
" call Dret("s:NetrwObtain 0 : failed: ".g:netrw_localcopycmd." ".shellescape(fname)." ".shellescape(topath))
return
+ endif
endfor
else
" transfer files with one command
@@ -6100,7 +6101,8 @@
if v:shell_error != 0
call netrw#ErrorMsg(s:WARNING,"consider setting g:netrw_localcopycmd<".g:netrw_localcopycmd."> to something that works",80)
" call Dret("s:NetrwObtain 0 : failed: ".g:netrw_localcopycmd." ".filelist." ".shellescape(topath))
- return
+ return
+ endif
endif
elseif !exists("b:netrw_curdir")
call netrw#ErrorMsg(s:ERROR,"local browsing directory doesn't exist!",36)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment