Re: [PATCH 0/2] Support relative .git file in a submodule
- From
Junio C Hamano <gitster@pobox.com>
- Date
- Jan 8, 2010, 23:09 UTC
- Message-ID
- <7vocl4urc6.fsf@alter.siamese.dyndns.org>
- In-Reply-To
- <1262990208-15554-1-git-send-email-brad.king@kitware.com>
Brad King <brad.king@kitware.com> writes:
> ... if a submodule > has a .git file "symlink" with a relative path to the real submodule > repository then ...
... then I've always thought that is simply a misconfiguration (t0002 seems to use full path for this exact reason). Is there a reason why relative path should be used/usable here, other than "being able to is better than not being able to"???
I don't like my process randomly chdir'ing around assuming they can chdir back safely very much, and would prefer not to add such codepaths unless absolutely necessary.