From: Heiko Voigt Date: Fri, 23 Nov 2012 16:03:01 GMT Subject: Re: Re: [PATCH v3 1/3] git-submodule add: Add -r/--record option 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: > 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