hoi :) On Wed, Apr 11, 2007 at 01:01:17PM -0700, Junio C Hamano wrote:yes. But why does everybody want to detach the submodule HEAD, instead of creating one 'special' branch which holds the commit which is used by the supermodule? If you then want to switch to another submodule branch you loose the reference that comes from the supermodule. I want to create the extra branch exactly _because_ there is independent work going on in the submodule (or the project it is based on). As you can switch between detached HEAD and an independent branch you can also switch between the 'supermodule branch' and independent branches -- only that you can easily switch back if you have an branch of your own. BTW: I also think that your --recurse-into-subprojects should be implied. If you check out one index entry, you should be able to read it back afterwards. That is a nice property everyone expects from normal files and we should try to keep that for submodules. When checkout_entry wants to touch a submodule we can simply rewrite the 'supermodule branch' in the submodule. If HEAD happens to point to it we also read-tree the submodule. This is easy to understand and implement and I have some good experience with this model. --=20 Martin Waitz
| Zhang, Yanmin | AIM7 40% regression with 2.6.26-rc1 |
| Con Kolivas | [PATCH][RSDL-mm 0/7] RSDL cpu scheduler for 2.6.21-rc3-mm2 |
| Nick Piggin | [patch 4/6] mm: merge populate and nopage into fault (fixes nonlinear) |
| Andrew Morton | -mm merge plans for 2.6.23 |
git: | |
| Gerrit Renker | [PATCH 15/37] dccp: Set per-connection CCIDs via socket options |
| David Miller | Re: [PATCH] pkt_sched: Destroy gen estimators under rtnl_lock(). |
| David Miller | [GIT]: Networking |
| Natalie Protasevich | [BUG] New Kernel Bugs |
