{"thread":{"id":"15922","subject":"Super module pointing to submodule branch instead of a specific commit?","startedAt":"2008-10-15T21:16:57Z","lastAt":"2008-10-15T21:57:17Z","messageCount":2,"participants":["skillzero@gmail.com","Avery Pennarun"],"isPatch":false,"patchVersion":null,"patchTotal":null},"messages":[{"id":"93148","messageId":"2729632a0810151416l3a16f6d6x4e32e457d26496bc@mail.gmail.com","threadId":"15922","inReplyTo":null,"subject":"Super module pointing to submodule branch instead of a specific commit?","fromName":"","fromEmail":"skillzero@gmail.com","sentAt":"2008-10-15T21:16:57Z","receivedAt":"2008-10-15T21:16:57Z","isPatch":false,"sender":{"key":"skillzero@gmail.com","avatar":null},"body":"Is there a way to have a super module point to a branch of a submodule\ninstead of a specific commit ID? I have a repository of common code\nI'd like to use with a several different projects (each project has a\nrepository of its own). I want those super repositories to reference\nthe \"stable\" branch of this shared repository so that whenever they\npull one of these super modules, they get any changes made to stable\nbranch of the shared repository. When creating a tag of the super\nmodule, I still want it to tag based on the commit ID of the submodule\n(like I think it does today).\n\n>From what I can tell, I seem to have to commit to the submodule then\ncommit the new commit ID of the submodule to every super module it is\na member of. That's somewhat tedious, but the larger problem is that\nnot all everyone with commit access to the submodule will has access\nto all the super modules (they may not even know they exist).\n"},{"id":"93152","messageId":"32541b130810151457q66a97ffob18d7154acbbacb3@mail.gmail.com","threadId":"15922","inReplyTo":"2729632a0810151416l3a16f6d6x4e32e457d26496bc@mail.gmail.com","subject":"Re: Super module pointing to submodule branch instead of a specific commit?","fromName":"Avery Pennarun","fromEmail":"apenwarr@gmail.com","sentAt":"2008-10-15T21:57:17Z","receivedAt":"2008-10-15T21:57:17Z","isPatch":false,"sender":{"key":"apenwarr@gmail.com","avatar":"https://avatars.githubusercontent.com/u/20592?v=4"},"body":"On Wed, Oct 15, 2008 at 5:16 PM,  <skillzero@gmail.com> wrote:\n> Is there a way to have a super module point to a branch of a submodule\n> instead of a specific commit ID?\n\nIn some sense, this is too simple to be supported by git-submodule.\nYou might want to try the \"ext\" tool instead:\nhttp://nopugs.com/2008/09/06/ext-tutorial\n\nHave fun,\n\nAvery\n"}]}