Re: [RFC/PATCH] clone: introduce clone.submoduleGitDir to relocate $GITDIR
- From
Junio C Hamano <gitster@pobox.com>
- Date
- Apr 16, 2013, 17:28 UTC
- Message-ID
- <7v38uqo059.fsf@alter.siamese.dyndns.org>
- In-Reply-To
- <CALkWK0kDgSicNejydLsH6iqj-yDYGz6CKd+kbn4EW1HxgAxsBA@mail.gmail.com>
Ramkumar Ramachandra <artagnon@gmail.com> writes:
> My solution fixes all these problems, and we need > .git/modules/<name>.git (no path-to-submodule nonsense) only as a last > resort: #3 (ref: my email to Peff).
Have you noticed that there are distinction between submodule path and submodule name already in the current system, and name is derived from path if you do not give it when adding a submodule merely as a convenience?
If some existing code uses .git/modules/<path>.git in "git submodule", that is a bug that needs to be fixed.