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
| Andrew Morton | Re: -mm merge plans for 2.6.23 -- sys_fallocate |
| david | Re: Dual-Licensing Linux Kernel with GPL V2 and GPL V3 |
| Linus Torvalds | Linux 2.6.27-rc5 |
| David Miller | Re: [PATCH] net: Fix the prototype of call_netdevice_notifiers |
git: | |
| Gerrit Renker | [PATCH 27/37] dccp: Integration of dynamic feature activation - part 2 (server side) |
| David Miller | Re: [GIT]: Networking |
| Jarek Poplawski | [PATCH] pkt_sched: Destroy gen estimators under rtnl_lock(). |
