Re: [PATCH 6/6] Teach core object handling functions about gitlinks
- From
- Josef Weidendorfer <josef.weidendorfer@gmx.de>
- Date
- Apr 12, 2007, 15:12 UTC
- Message-ID
- <200704121712.08706.Josef.Weidendorfer@gmx.de>
- In-Reply-To
- <20070411235447.GO21701@admingilde.org>
On Thursday 12 April 2007, you wrote:
Show 6 quoted lines
> If you use a detached HEAD then you can no longer switch back to it > once you used some other (independent) branch (for testing or whatever). > This is my main argument: If you just update some 'special' > refs/heads/from-supermodule (or whatever, maybe get it from > .gitmodules/config) you can still switch between branches, making them > more useful IMHO.
The supermodule checkout could create a .git/SUPER_HEAD for this. OK, that is a special kind of reference.
Or introduce "git --super ..." with works with the superproject. Form a submodule directory, a "git --super checkout ." could reset the submodule checkout.
Josef