editorconfig/editorconfig-vim — pull request #8 by jcartledge (2012-12-08 04:38:30+00:00)
Title: Add editorconfig-core-py as Git submodule so Vundle, Pathogen etc can manage installation

Hi.

This commit references the editorconfig-core-py tree as a Git submodule rather than copying the whole tree (including Git metadata) into the plugins directory. This allows Git-based Vim plugin managers to install and manage editorconfig-vim without errors.

Currently Vundle errors when trying to install editorconfig-vim because editorconfig-core-py has a .gitmodules which defines a submodule (tests) which Git tries to resolve in the context of the editorconfig-vim repo. You can see this as follows:

~$ git clone https://github.com/editorconfig/editorconfig-vim.git upstream-editorconfig-vim
Cloning into 'upstream-editorconfig-vim'...
remote: Counting objects: 949, done.
remote: Compressing objects: 100% (346/346), done.
remote: Total 949 (delta 546), reused 947 (delta 544)
Receiving objects: 100% (949/949), 1.84 MiB | 302 KiB/s, done.
Resolving deltas: 100% (546/546), done.
~$ cd upstream-editorconfig-vim
~/upstream-editorconfig-vim $ git submodule init
No submodule mapping found in .gitmodules for path 'plugin/editorconfig-core-py/tests'