Re: Re: [PATCH v3 1/3] git-submodule add: Add -r/--record option
- From
Heiko Voigt <hvoigt@hvoigt.net>
- Date
- Nov 23, 2012, 16:03 UTC
- Message-ID
- <20121123160301.GC14509@book.hvoigt.net>
- In-Reply-To
- <20121120121912.GC7096@odin.tremily.us>
On Tue, Nov 20, 2012 at 07:19:12AM -0500, W. Trevor King wrote:
Show 7 quoted lines
> The benefit is that Ævar's > > $ git submodule foreach 'git checkout $(git config --file $toplevel/.gitmodules submodule.$name.branch) && git pull' > > becomes > > $ git submodule update --pull
There is an important question still unanswered here for me: How does the submodule get the configuration what the local branch tracks on the remote side?
Cheers Heiko