Re: [RFC] Submodules in GIT

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

 



Martin Waitz wrote:
hoi :)

On Fri, Dec 01, 2006 at 01:03:48PM +0100, sf wrote:
Andreas Ericsson wrote:
2. You can never prune the main (the supermodule's) repository, at least not with what git provides today.

It even already works (well, not with what git provides today, but with
my implementation). git-prune simply walks all the submodules, too, when
doing it's reachability analysis.

What does not work is a prune inside the submodule, because it does not
know about all the commits used by the supermodule.

I just had a short (really short) look at your work. My impression is that your repository setup is much too complicated.

As I proposed elsewhere: For submodules to work you only need to allow commits in tree objects (that is what your implementation requires as well). Everything else is in the tools. Much simpler.

Regards

Stephan

-
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]