Re: [RFC] git-submodule: multiple-level modules definition

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, Mar 3, 2008 at 2:18 AM, Lars Hjemli <hjemli@xxxxxxxxx> wrote:
> On Sun, Mar 2, 2008 at 6:11 PM, Ping Yin <pkufranky@xxxxxxxxx> wrote:
>  >  4. Do we really need 'init' subcommand?
>
>  Yes: .git/config tells git which submodule(s) the user is interested
>  in and where to fetch updates from for these submodules, while
>  .gitmodules is used to map a submodule _name_ to a submodule _path_
>  and also to provide a url where submodule updates _can_ be fetched.
>
>  So the actual use of submodules is strictly a local configuration
>  issue and as such it needs to be kept in .git/config. And to help the
>  user populate .git/config with submodule information we have 'git
>  submodule init'.
Is it always a local configuration issue? In a project with hundreds
of submodule, will anybody modify the submodule url?
I think .gitmodules can be the default repository configuration, and
when we have local configuration issue, we can override the
configuration in .git/config with the help of git init. But why always
use git init even when we don't have the local configuration
requirement?
>
>  --
>  larsh
>



-- 
Ping Yin
--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]

  Powered by Linux