Thread (21 messages) flat view 21 messages, 6 authors, 2016-06-15

Re: [PATCH v4 2/3] relative_path should honor dos-driver-prefix

From: Sebastian Schuberth <hidden>
Date: 2016-06-15 22:58:58

On 20.09.2013 04:38, Jiang Xin wrote:
Tvangeste found that the "relative_path" function could not work
properly on Windows if "in" and "prefix" have DOS driver prefix
(such as "C:/windows"). ($gmane/234434)
s/driver/drive/
E.g., When execute: test-path-utils relative_path "C:/a/b" "D:/x/y",
should return "C:/a/b", but returns "../../C:/a/b", which is wrong.

So make relative_path honor dos-driver-prefix, and add test cases
for it in t0060.
s/dos-driver-prefix/DOS drive prefix/

-- 
Sebastian Schuberth
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help