News for hackers. Stuff that matters.
Re:Git 2.9 released by riscy on Thursday June 16, 2016 @09:00AM (#11915775)
I use submodules and they work fine. What is so bad about them that I shouldn't be using them?
Re:Git 2.9 released by ithkuil on Thursday June 16, 2016 @09:52AM (#11916065)
Here's some good posts about submodules and alternatives, so you can make up your own mind:

http://blogs.atlassian.com/2013/05/alternatives-to-git-submo...

https://codingkilledthecat.wordpress.com/2012/04/28/why-your...

Re:Git 2.9 released by riscy on Thursday June 16, 2016 @12:10PM (#11917056)
From what I've gathered skimming the numerous blog posts venting about submodules, it seems that people have trouble with submodules because they are trying to integrate them into a workflow they work poorly in (i.e., rapidly changing modules). There seems to be room for improvement for that type of usage, given what people are saying, but I wonder if there have been any changes to submodules since those posts (many of them are dated around 2011-2012).

My own positive experience with submodules involves dependencies that only occasionally change; I can always point to a specific tag that should be used.

Re:Git 2.9 released by Ace17 on Friday June 17, 2016 @01:25AM (#11920831)
Yes.

One should avoid to extract a component from the repo as a submodule too early, i.e when the interface of the component is not mostly stabilized.

If each commit in your "main" module is paired with a commit in your submodules, then you might be missing the point of module separation.

Re:Git 2.9 released by Too on Friday June 17, 2016 @12:07PM (#11923452)
Even if the interface is stabilized, when you update implementation of a submodule you will still have to recursively update all submodules from main down to the changed module.
Re:Git 2.9 released by mnsc on Thursday June 16, 2016 @03:20PM (#11918253)
How do you point to a specific tag? Do you set branch : (tag)?