On Thu, 12 Apr 2007, Martin Waitz wrote:I don't think "everybody" wants it. But the point is, *regardless* of whether you want a "detached HEAD" or you want a "'special' branch", you should always use HEAD to look up the commit, and using HEAD *allows* both (ie just make HEAD a symref to the 'special' branch if you want that behaviour). And if you *do* use a special branch, HEAD *must* match that special branch anyway, since when you commit in the supermodule, the only behaviour that makes sense is to commit the currently checked out state! And that is entirely appropriate. But that still means that HEAD must point to that branch (when in the submodule), since that branch must be the one that is checked out. If it isn't the branch that is checked out, normal operations like "git diff" etc wouldn't make sense from the supermodule. And that is why *regardless* of whether you use a special branch or not, HEAD is the right thing to look up. Linus - 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
| 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 |
