[PATCH 0/1] mingw: handle absolute paths in expand_user_path()
- Date: Tue, 06 Nov 2018 06:53:16 -0800 (PST)
- From: "Johannes Schindelin via GitGitGadget" <gitgitgadget@xxxxxxxxx>
- Subject: [PATCH 0/1] mingw: handle absolute paths in expand_user_path()
While this patch has been "in production" in Git for Windows for a good
while, this patch series is half meant as a request for comments.
The reason is this: something like this (make paths specified e.g. via
http.sslCAInfo relative to the runtime prefix) is potentially useful also in
the non-Windows context, as long as Git was built with the runtime prefix
The main problem with non-Windows platforms is that paths starting with a
single slash are unambiguously absolute, whereas we can say with certainty
that they are not absolute Windows paths.
So maybe someone on this list has a clever idea how we could specify paths
(unambiguously, even on non-Windows platforms) that Git should interpret as
relative to the runtime prefix?
Johannes Schindelin (1):
mingw: handle absolute paths in expand_user_path()
path.c | 5 +++++
1 file changed, 5 insertions(+)
Fetch-It-Via: git fetch https://github.com/gitgitgadget/git pr-66/dscho/mingw-expand-absolute-user-path-v1