From: Francesco Pretto Date: Tue, 07 Jan 2014 21:51:34 GMT Subject: Re: [RFC v2] submodule: Respect requested branch on all clones Message-ID: In-Reply-To: <20140107213739.GA29954@odin.tremily.us> 2014/1/7 W. Trevor King : > > I'd be happy to hear ideas about superproject-branch-specific local > overrides to a hypothetical submodule..local-branch, in the > event that a developer doesn't like a default set in .gitmodules. If > I could think of a way to do that, we could avoid this heuristic > approach, and make the local submodule..local-branch > vs. remote-tracking submodule..branch distinction more obvious. > Uh, I think you got it wrong in the other thread: I didn't proposed such feature. I just wanted the attached submodule use case to be supported and of course "--branch means attached" is even easier to get this.