<div dir="ltr">Although I like being right, I'm not sure what I'm right about. We use submodules at work both to include third-party tools and to share code among related internal projects. Submodules have worked fine for us so far, but they also have their downsides. For instance, we've made changes to shared submodules in one project and then not updated in other projects for a while, only to realize when we do update that those changes didn't work in the other project, so we had to make fixes to both (I just reread that sentence and realized it's pretty mumbly, but I'm too lazy to reword it).<div>
<br></div><div>I was mainly asking about the intermediate form because it seems like it could be useful, but I didn't understand how it would work.</div></div><div class="gmail_extra"><br><br><div class="gmail_quote">
On Tue, Aug 13, 2013 at 2:49 PM, Tony Garnock-Jones <span dir="ltr"><<a href="mailto:tonyg@ccs.neu.edu" target="_blank">tonyg@ccs.neu.edu</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div class="im">On 08/13/2013 04:42 PM, Nick Shelley wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Can you elaborate on your intermediate form? I don't understand how git<br>
submodules prohibit or restrict submodule evolution. The only difference<br>
I see with the submodule approach is that it requires an extra commit to<br>
update the submodule versions (and subsequently a pull followed by a<br>
submodule update in other clones), whereas the makefile approach only<br>
requires a 'make update' in the umbrella clones. Is there something else<br>
I'm missing?<br>
</blockquote>
<br></div>
Perhaps you're right. Maybe my impression that git submodules are frozen is out-of-date. It has been a while since I used them. Perhaps they're first-class checkouts that can be manipulated independently of their... supermodule. If that's true, perhaps they're an OK way of specifying a versioned subrepo manifest.<br>
<br>
Cheers,<br>
Tony<br>
</blockquote></div><br></div>