Explorar el Código

Don't check for the need for post-update hook when interrupted

Junegunn Choi hace 11 años
padre
commit
0936877399
Se han modificado 1 ficheros con 3 adiciones y 0 borrados
  1. 3 0
      plug.vim

+ 3 - 0
plug.vim

@@ -444,6 +444,9 @@ endfunction
 
 function! s:do(pull, todo)
   for [name, spec] in items(a:todo)
+    if !isdirectory(spec.dir)
+      continue
+    endif
     execute 'cd '.s:esc(spec.dir)
     if has_key(s:prev_update.new, name) || (a:pull &&
       \ !empty(s:system_chomp('git log --pretty=format:"%h" "HEAD...HEAD@{1}"')))