You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I think this is actually an issue with git somehow (or maybe the way it's supposed to work), but sometimes when Vundle updates a plugin, it puts the updated files directly into my ~/.vim directory rather than into the bundle's directory (eg. an updated file will appear in ~/.vim/plugin rather than ~/.vim/bundle/pluginname/plugin). It seems to stem from using '--git-dir=' to pull stuff in. I have a little patch in my fork of Vundle which seems to fix it for me. My change just 'cd's into the bundle's directory, then does 'git pull'.
The text was updated successfully, but these errors were encountered:
Hey Hey! First issue is here, eh?! )
Can you try running
git --git-dir=~/.vim/bundle/<vim_plugin_name> pull
to see if git really neglects --git-dir option? I believe older git version do so. May I know your git version?
Also i've checked your fork, but due to merge the fix kind of dissolved in merge, can you please do rebase instead merge? Just to have clean patch.
Thanks for feedback!
It's definitely not an old version of git, I'm using 1.7.3.2 :). I just checked the git docs, and apparently it's doing exactly what it's supposed to! In order to do what the code is actually intending to do (at least with git 1.7.3.2) you need to use the --work-tree= option along with the --git-dir= option, or do it the way I did in my fork. I rebased my fork so that you can merge cleanly if you like!
I think this is actually an issue with git somehow (or maybe the way it's supposed to work), but sometimes when Vundle updates a plugin, it puts the updated files directly into my ~/.vim directory rather than into the bundle's directory (eg. an updated file will appear in ~/.vim/plugin rather than ~/.vim/bundle/pluginname/plugin). It seems to stem from using '--git-dir=' to pull stuff in. I have a little patch in my fork of Vundle which seems to fix it for me. My change just 'cd's into the bundle's directory, then does 'git pull'.
The text was updated successfully, but these errors were encountered: