On Tue, Jan 07, 2014 at 08:19:49PM +0100, Francesco Pretto wrote: > 2014/1/7 Junio C Hamano <gits...@pobox.com>: > > It is not immediately obvious to me why anybody who specifies the > > submodule.*.branch variable to say "I want _that_ branch" not to > > want to be on that branch but in a detached state, so from that > > perspective, submodule.*.attach feels superfluous. > > Junio, for what it concerns me I fully support this patch as, IMO, it > makes cleaner the role of the property "submodule.<name>.branch".
No, submodule.<name>.branch is the name of the remote-tracking branch for 'update --remote'. In this patch, I'm using it as a hint for the preferred local branch name , which I now think was a bad idea. After , I think that we should just define the preferred local branch name explicitly (submodule.<name>.local-branch?). Cheers, Trevor : http://article.gmane.org/gmane.comp.version-control.git/239980 : http://article.gmane.org/gmane.comp.version-control.git/240097 -- 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
Description: OpenPGP digital signature