PlugUpgrade

Wed, 22 Sep 2021 15:37:24 -0500

author
Meredith Howard <mhoward@roomag.org>
date
Wed, 22 Sep 2021 15:37:24 -0500
changeset 947
dbec28d7a4f1
parent 946
20c0492da189
child 948
92cb1b3e285a

PlugUpgrade

.vim/autoload/plug.vim file | annotate | diff | comparison | revisions
--- a/.vim/autoload/plug.vim
+++ b/.vim/autoload/plug.vim
@@ -1208,7 +1208,8 @@ function! s:update_impl(pull, force, arg
   normal! 2G
   silent! redraw
 
-  let s:clone_opt = []
+  " Set remote name, overriding a possible user git config's clone.defaultRemoteName
+  let s:clone_opt = ['--origin', 'origin']
   if get(g:, 'plug_shallow', 1)
     call extend(s:clone_opt, ['--depth', '1'])
     if s:git_version_requirement(1, 7, 10)

mercurial