Thread (1 message) 1 message, 1 author, 2016-06-15

Re: Proposed function path_in_directory()

From: Junio C Hamano <hidden>
Date: 2016-06-15 22:54:58

Johannes Sixt [off-list ref] writes:
Am 08.10.2012 18:13, schrieb Junio C Hamano:
quoted
Michael Haggerty [off-list ref] writes:
quoted
2. Does there need to be any special related to DOS paths?
The ceiling computation may need special case for dos.  What does
the getcwd() give us?  Do we learn only the path within the "current
drive" and need to prefix C: (or D: or X:) ourselves if we really
want to tell C:\bin and D:\bin apart?
We don't have to do that. getcwd() returns the drive letter.
...
A component in an path list like GIT_CEILING_DIRECTORIES or PATH that
does not contain the drive letter is a user error. Do not cater for it.
That makes it much simpler and saner.  Thanks.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help