Re: Partial checkouts / submodules

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

 



On Nov 20, 2007, at 10:03 AM, Daniel Barkalow wrote:
This has theoretical problems: it's going to be practically impossible, in
most cases, to write a commit message that describes changes in three
submodules (which are sometimes used in the context of a different
supermodule) as well as the supermodule.

I got the impression from his email that there *are* no other supermodules. The submodules are submodules purely to reduce the amount of data people have to transfer around, not because they're logically distinct from the parent.

Something like "Fix bug #10391 by closing the data file before launching the GUI" or something like that would be just as valid a commit comment in the submodules here as it would be in the supermodules.

Sounds like what he wants is actually partial checkout, but since git doesn't (yet) support that, he's emulating it as best he can using submodules.

I think it should be possible and sufficient to have "git commit" able to
recursively start a "git commit" in submodules (where you'd write a
separate message suitable for exposure to other supermodules), so you'd
have to write 4 messages but only type one command line.

If the message in the submodule defaulted to the one from the supermodule, and there was a way to just accept it without popping up an editor N times, this might solve his problem.

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

  Powered by Linux