Thread (6 messages) flat view 6 messages, 4 authors, 2016-06-15

Re: RFC: Subprojects

From: Junio C Hamano <hidden>
Date: 2016-06-15 22:42:16

A Large Angry SCM [off-list ref] writes:
quoted
If I could have just done a "git clone <top-level>" to get it all,
I'd have been a much more productive user.
$ make get_sub_components

This can work with most any SCM (depending on your environment), is
amazingly flexible, and does not require special support in the SCM.
I am with you two on this one, in principle, as a developer.
The "get" rule for each sub-project could be something like:

	git_sub-project:
		mkdir sub-project
		cd sub-project
		git-init-db
		git-fetch <fetch-options> <repository> <refspec>
		git-checkout <branch>
		$(MAKE) get_sub_components
There lies a drake here --- <repository> is not the same for
everybody.  It is not a big showstopper dragon, though.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help