Re: RFC: Subprojects
From: Martin Langhoff <hidden>
Date: 2016-06-15 22:42:16
On 1/12/06, Alexander Litvinov [off-list ref] wrote:
quoted
What is your show stopper?I would agree to make separate commits for each sub project. 1. I need to have ability to make tags, branches thru all subprojects.
I suspect that this is a bad idea -- for the same reason as committing to a subproject is a bad idea. The subprojects most likely have their own external repositories -- and lifecycles of their own. The same headname/branchname won't do.
2. Update (pull) sould update each subproject, it is hard to update them by hands.
A simple shellscript can help you here.
3. The need of some sort of checkout script (can be solved by storing this script in base project, but it would be much nicer allow git fetch all subprojects)
As you say, a bootstrapping shellscript can sort this out. Sounds quite doable ;-) (have to warn you though -- git is quite addictive. there's no going back...) cheers, martin