Thread (12 messages) flat view 12 messages, 3 authors, 2016-06-15

Re: [PATCH 3/4] Support working directory located at root

From: Nguyen Thai Ngoc Duy <hidden>
Date: 2016-06-15 22:48:13

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
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help