From: Sebastian Schuberth Date: Thu, 10 Oct 2013 20:34:04 GMT Subject: Re: [PATCH v4 2/3] relative_path should honor dos-driver-prefix Message-ID: <52570F3C.20509@gmail.com> In-Reply-To: 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