Re: git support for subprojects?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Luke.Powell@xxxxxxxxxxxxxx wrote:
> Say that I have projects A and B which both depend on another project Z. 
> Whenever I update one of those projects, I'd like to also update to the 
> latest version of Z in a subdirectory. Is there that kind of support for 
> these subprojects? If I'm not being clear, I'm talking about the kind of 
> support that is available in Subversion through svn:externals or something 
> analogous.

In the Git community the concept of a subproject is more powerful
than what you just described.  But we haven't implemented those
concepts yet in a released version (however there are prototypes
floating around for discussion).  ;-)

If all you want is an svn:externals type of hack, you can easily
write a wrapper script to cd into the subproject Z and run
`git pull`, merging in any recent changes from the upstream.

But we haven't automated that, as our concept of a subproject is
much more sophisticated and doesn't always mean update the subproject
to the latest version.

-- 
Shawn.
-
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]