[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: issues with git submodules and `bootstrap'
From: |
Werner LEMBERG |
Subject: |
Re: issues with git submodules and `bootstrap' |
Date: |
Tue, 10 Jan 2012 20:30:47 +0100 (CET) |
> After doing the incantation described in section 2.8 of gnulib.pdf,
> namely
>
> $ dir=.gnulib
> $ git submodule add -- git://git.sv.gnu.org/gnulib.git $dir
>
> the user has to commit the submodule setup to the repository. It's
> probably worth to mention this.
>
> However, if I now say `git config --file .gitmodules --list' (I
> haven't touched the data within `.gitmodules'), I see
>
> submodule..gnulib.path=.gnulib
> submodule..gnulib.url=git://git.sv.gnu.org/gnulib.git
>
> Note the double dot. Interestingly, the name of the submodule is
> taken from the directory location, not the repository name. Maybe a
> git bug? I'm using version 1.7.8.
According to a google search, this is a feature.
I'm unsure how to proceed. On one hand, I like `.gnulib' as the
submodule's directory. On the other hand, I don't like `.gnulib' as
the submodule name. It seems that it is impossible to do a `git
submodule add' for this setup...
Werner
- import question, Werner LEMBERG, 2012/01/08
- Re: import question, Jim Meyering, 2012/01/08
- Re: import question, Bruno Haible, 2012/01/08
- issues with git submodules and `bootstrap', Werner LEMBERG, 2012/01/10
- Re: issues with git submodules and `bootstrap',
Werner LEMBERG <=
- Re: issues with git submodules and `bootstrap', Eric Blake, 2012/01/10
- Re: issues with git submodules and `bootstrap', Werner LEMBERG, 2012/01/11
- Re: issues with git submodules and `bootstrap', Gary V. Vaughan, 2012/01/11
- Re: issues with git submodules and `bootstrap', Werner LEMBERG, 2012/01/11
- Re: issues with git submodules and `bootstrap', Gary V. Vaughan, 2012/01/11
- Re: issues with git submodules and `bootstrap', Simon Josefsson, 2012/01/11
- Re: issues with git submodules and `bootstrap', Gary V. Vaughan, 2012/01/11
- Re: issues with git submodules and `bootstrap', Simon Josefsson, 2012/01/11
- Re: issues with git submodules and `bootstrap', Gary V. Vaughan, 2012/01/11
- Re: issues with git submodules and `bootstrap', Gary V. Vaughan, 2012/01/11