Skip to content

mingw: support absolute paths without a drive prefix

Johannes Schindelin via GitGitGadget git 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 7 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2mingw: demonstrate a problem with certain absolute pathst/t5580-clone-push-unc.sh+14 -50 replies
2/2mingw: allow absolute paths without drive prefixcompat/mingw.c t/t5580-clone-push-unc.sh+10 -27 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/2] mingw: support absolute paths without a drive prefix

On Windows, when using a path like \hello\world, it is silently understood to be absolute, but relative to the current directory's drive.

Let's support that, too.

Johannes Schindelin (2):
mingw: demonstrate a problem with certain absolute paths
mingw: allow absolute paths without drive prefix

 compat/mingw.c            | 10 +++++++++-
 t/t5580-clone-push-unc.sh | 19 ++++++++++++++-----
 2 files changed, 23 insertions(+), 6 deletions(-)

base-commit: 5d826e972970a784bd7a7bdf587512510097b8c7
Published-As: https://github.com/gitgitgadget/git/releases/tags/pr-96%2Fdscho%2Fdrive-prefix-v1
Fetch-It-Via: git fetch https://github.com/gitgitgadget/git pr-96/dscho/drive-prefix-v1
Pull-Request: https://github.com/gitgitgadget/git/pull/96

Signature · 1 line
gitgitgadget