Re: [PATCH v3 02/10] submodule status: use submodule--helper is-active

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

 



Stefan Beller <sbeller@xxxxxxxxxx> writes:

> So to answer your original question, I think the codebase currently
> thinks by_path is handier, the name is a mere internal field in
> "struct submodule", useful for looking up its git dir.

OK, that makes sense at the conceptual level, too.  When you have a
specific version of the superproject checked out, you would want to
identify which submodule to work on by the path to it inside that
version of the superproject.  The name is used only to keep track
of attributes of the submodule that will not change across versions
of the superproject, no matter where in its tree it binds the
submodule at.

Thanks.



[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]