Martin Waitz <tali@admingilde.org> writes:Why? If you are working in the parent module (e.g integration) and notice breakage due to a bug in a submodule, it is very plausible that you would want to cd into the directory you have the submodule checked out, which has its own .git/ as its repository, and perform a fix-up there, with the goal of coming up with a commit usable by the parent project pointed at by the HEAD of the submodule repository. And while working toward that goal, you will use branches, rebase, rewind or use StGIT there in that submodule repository. It does not forbid you from using any of these things -- as long as you end up with a good commit at HEAD that the supermodule can use. Once you come up with a suitable commit sitting at HEAD of the submodule repository, you cd up to the parent module. Top-level git-diff would notice that the commit recorded at the submodule path has been updated (because you now have a good commit at HEAD of the submodule repository, while earlier the one in your index was a dud). So it is not clear to me what your argument about throwing away capabilities is. - To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
| david | Re: Dual-Licensing Linux Kernel with GPL V2 and GPL V3 |
| Bart Van Assche | Integration of SCST in the mainstream Linux kernel |
| Greg KH | [GIT PATCH] driver core patches against 2.6.24 |
| Heiko Carstens | Re: -mm merge plans for 2.6.23 -- sys_fallocate |
git: | |
| David Miller | Re: [GIT]: Networking |
| Jarek Poplawski | [PATCH] pkt_sched: Destroy gen estimators under rtnl_lock(). |
| Gerrit Renker | [PATCH 05/37] dccp: Cleanup routines for feature negotiation |
| Lennert Buytenhek | [PATCH 16/39] mv643xx_eth: get rid of ETH_/ethernet_/eth_ prefixes |
