mbox series

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

Message ID pull.96.git.gitgitgadget@gmail.com (mailing list archive)
Headers show
Series mingw: support absolute paths without a drive prefix | expand

Message

Linus Arver via GitGitGadget Dec. 10, 2018, 6:47 p.m. UTC
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