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.