On 2/10/10, Johannes Sixt [off-list ref] wrote:
On Dienstag, 9. Februar 2010, Nguyễn Thái Ngọc Duy wrote:
> I said I would have code change for DOS drive too. But I take it back.
> Supporting GIT_DIR=C:\.git might be easy, GIT_DIR=C:.git is not.
One does not set GIT_DIR=C:.git; it would be insane because it means ".git in
an unpredictable directory somewhere on drive C". It would be great to
support GIT_DIR=C:/.git
A bit off topic, but make_relative_path() may need more care for the
Windows port. I thought of making relative path between C:/foo and
D:/bar but it should work well for that case. //machine/share1/foo and
//machine/share2/bar may fail though.
--
Duy