Re: [RFC] submodule: change submodule.<name>.branch default from master to HEAD
- From
W. Trevor King <wking@tremily.us>
- Date
- Mar 28, 2014, 03:52 UTC
- Message-ID
- <20140328035255.GF25485@odin.tremily.us>
- In-Reply-To
- <CAPig+cT7tmxvYz+sLQY68SgF6osM+pAj-gFb7xvyuH+Gnw5xrg@mail.gmail.com>
On Thu, Mar 27, 2014 at 11:43:47PM -0400, Eric Sunshine wrote:
Show 11 quoted lines
> On Thu, Mar 27, 2014 at 11:36 PM, W. Trevor King <wking@tremily.us> wrote: > > submodule.<name>.branch:: > > A remote branch name for tracking updates in the upstream submodule. > > - If the option is not specified, it defaults to 'master'. See the > > - `--remote` documentation in linkgit:git-submodule[1] for details. > > + If the option is not specified, it defaults to the subproject's > > Did you mean s/subproject/submodule/ ? > > > + HEAD. See the `--remote` documentation in linkgit:git-submodule[1] > > + for details.
No the remote branch is in the upstream subproject. I suppose I meant “the submodule's remote-tracking branch following the upstream subproject's HEAD which we just fetched so it's fairly current” ;).
Cheers, Trevor
-- This email may be signed or encrypted with GnuPG (http://www.gnupg.org). For more information, see http://en.wikipedia.org/wiki/Pretty_Good_Privacy