Re: [PATCH 2/3] Submodules: Add the new "fetch" config option for fetch and pull
- From
Jon Seymour <jon.seymour@gmail.com>
- Date
- Oct 7, 2010, 13:33 UTC
- Message-ID
- <AANLkTikUdNdDDK9-+AjuSO_RJHNBZEp5mHPRnsV0Fo0v@mail.gmail.com>
- In-Reply-To
- <4CAB8E33.1030208@web.de>
Show 6 quoted lines
> The .gitmodules file is parsed for "submodule.<name>.fetch" entries before > looking for them in .git/config. Thus settings found in .git/config will > override those from .gitmodules, thereby allowing the local developer to > ignore settings given by the remote side while also letting upstream set > defaults for those users who don't have special needs. >
I wonder if the name is a little too general for the function of this configuration variable and if it might not be better to qualify it a little further, perhaps with the recursive suffix, e.g.:
submodule.<name>.fetch.recursive
This would allow us to define other attributes that configure fetch on a per submodule basis later should the need arise.
jon.