-
Notifications
You must be signed in to change notification settings - Fork 2.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Proper handling for the case when ~/.vim is under source control #116
base: master
Are you sure you want to change the base?
Conversation
…es as proper submodules (using relative paths)
Thanks for the pull request! Few notes:
Not merging your commit in yet, but it will be used to add submodule support to Vundle soon! Let me know what you think! |
You're right, that's exactly the case. I am keeping |
…esult in a detached HEAD.
The last few commits extend submodule support to updating & deleting bundles. It works well on Linux. I'm pretty sure it needs some modifications to work properly on Windows though. |
That's cool maljub01! |
I think I'm interested in this. What I'm looking for is some way to install my bundles in a specific location. I think $HOME/.vim/bundles would be good, so I could easily ignore that in my SCM. |
…used to break installing a previously removed plugin (for git 1.7.8 and above).
#145 (related to) |
Conflicts: autoload/vundle/installer.vim
Escape \ in paths in order to match the bundle path part correctly on Windows.
Submodule paths must be in the form bundle/plugin. If a submodule is added with the path as bundle/\plugin 'git submodule init' will fail.
When the user's ".vim" folder is part of a git repo, using git clone and git add (as the plugin does) creates a "semi-submodule" which doesn't work properly. This commit makes vundle check first if this is the case, and if so properly adds the bundles as git submodules.