Re: [PATCH 6/6] Teach core object handling functions about gitlinks

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 4/11/07, Martin Waitz <tali@xxxxxxxxxxxxxx> wrote:
> >Always read and write one dedicated branch (hardcoded "master" or
> >configurable) when the supermodule wants to access a submodule.
>
> In this case it does not correspond to the working tree anymore.
> HEAD is the "closest" to working tree of submodule.

yes.

"Yes" what? It should _not_ correspond to HEAD?

This has been discussed in length already.
Please have a look at the archives.

I should. But at least a short summary of the reasons
would be nice.

Your working tree now contains a complete git repository which has
features which are not available for normal files.  Notable, you
have the possibility to create branches in the submodule.
If you insist in using HEAD you throw away those submodule capabilities.


In this (a very special, I believe) case, why not use git update-index
--cacheinfo?
-
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]