Xtian Simon <[email protected]> writes:

> I'm getting this rather coo-coo error when using the Vim package manager
> [Vundle][1]'s :PluginUpdate command. If you're not familiar with Vundle, it
> lets you update your Vim plugin git packages.
>
> I've narrowed the problem down to the `submodule update` operation. Sure
> enough, if I use the same command from Bash, I get the same error:
>
>     $ pwd
>     /home/mastershake/xtian/.vim/bundle/closetag.vim
>     $ ls -al
>     total 20K
>     drwxr-xr-x  4 xtian xtian 4.0K Apr 11  2015 .
>     drwxr-xr-x 24 xtian xtian 4.0K Oct 24  2015 ..
>     drwxr-xr-x  8 xtian xtian 4.0K Oct 31 09:05 .git
>     drwxr-xr-x  2 xtian xtian 4.0K Apr 11  2015 plugin
>     -rw-r--r--  1 xtian xtian 1.5K Apr 11  2015 README
>     $ git submodule update --init --recursive
>     fatal: /home/mastershake/xtian/Documents.x/Employment.d/Jobs.d:
> '/home/mastershake/xtian/Documents.x/Employment.d/Jobs.d' is outside
> repository
>
> What's more, any directory (with a git repo) where I perform this same
> operation I get the same error. I say it's coo-coo, because the error has
> nothing to do with any individual `.git` repo itself.
>
> I'm running ArchLinux. I've not done anything custom. I've just updated as
> per usual.
>
> What's git doing, and how do I fix it?

I've used Vundle extensively and never bumped into this particular
issue. I notice you don't have  a .gitmodules file in the folder in
question. So, maybe you'll find the reason for the oddity if you first
locate the .gitmodules file that produces that error?

/M

--
Magnus Therning              OpenPGP: 0x927912051716CE39
email: [email protected]   jabber: [email protected]
twitter: magthe               http://therning.org/magnus

You do not examine legislation in the light of the benefits it will
convey if properly administered, but in the light of the wrongs it
would do and the harms it would cause if improperly administered.
     — Lyndon Johnson

-- 
You received this message because you are subscribed to the Google Groups "Git 
for human beings" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Attachment: signature.asc
Description: PGP signature

Reply via email to