Skip to content

Conversation

@bmueller84
Copy link

In 1e64d18 (mingw: do resolve symlinks in getcwd()) a problem was
introduced that causes git for Windows to stop working with certain
mapped network drives (in particular, drives that are mapped to
locations with long path names). Error message was "fatal: Unable to
read current working directory: No such file or directory". Present
change fixes this issue as discussed in
#2480

Signed-off-by: Bjoern Mueller [email protected]

Thanks for taking the time to contribute to Git!

Those seeking to contribute to the Git for Windows fork should see
http://gitforwindows.org/#contribute on how to contribute Windows specific
enhancements.

If your contribution is for the core Git functions and documentation
please be aware that the Git community does not use the github.com issues
or pull request mechanism for their contributions.

Instead, we use the Git mailing list ([email protected]) for code and
documenatation submissions, code reviews, and bug reports. The
mailing list is plain text only (anything with HTML is sent directly
to the spam folder).

Nevertheless, you can use GitGitGadget (https://gitgitgadget.github.io/)
to conveniently send your Pull Requests commits to our mailing list.

Please read the "guidelines for contributing" linked above!

In 1e64d18 (mingw: do resolve symlinks in `getcwd()`) a problem was
introduced that causes git for Windows to stop working with certain
mapped network drives (in particular, drives that are mapped to
locations with long path names). Error message was "fatal: Unable to
read current working directory: No such file or directory". Present
change fixes this issue as discussed in
#2480

Signed-off-by: Bjoern Mueller <[email protected]>
@dscho dscho added this to the Next release milestone Jan 22, 2020
@dscho dscho merged commit 387e710 into git-for-windows:master Jan 22, 2020
git-for-windows-ci pushed a commit that referenced this pull request Jan 22, 2020
mingw: fix fatal error working on mapped network drives on Windows
git-for-windows-ci pushed a commit that referenced this pull request Jan 22, 2020
mingw: fix fatal error working on mapped network drives on Windows
git-for-windows-ci pushed a commit that referenced this pull request Jan 22, 2020
mingw: fix fatal error working on mapped network drives on Windows
git-for-windows-ci pushed a commit that referenced this pull request Jan 22, 2020
mingw: fix fatal error working on mapped network drives on Windows
dscho added a commit that referenced this pull request Jan 23, 2020
mingw: fix fatal error working on mapped network drives on Windows
git-for-windows-ci pushed a commit that referenced this pull request Jan 24, 2020
mingw: fix fatal error working on mapped network drives on Windows
git-for-windows-ci pushed a commit that referenced this pull request Jan 24, 2020
mingw: fix fatal error working on mapped network drives on Windows
dscho added a commit that referenced this pull request Jan 24, 2020
mingw: fix fatal error working on mapped network drives on Windows
dscho added a commit that referenced this pull request Jan 24, 2020
mingw: fix fatal error working on mapped network drives on Windows
git-for-windows-ci pushed a commit that referenced this pull request Jan 27, 2020
mingw: fix fatal error working on mapped network drives on Windows
git-for-windows-ci pushed a commit that referenced this pull request Jan 27, 2020
mingw: fix fatal error working on mapped network drives on Windows
git-for-windows-ci pushed a commit that referenced this pull request Jan 27, 2020
mingw: fix fatal error working on mapped network drives on Windows
dscho added a commit that referenced this pull request Jan 28, 2020
mingw: fix fatal error working on mapped network drives on Windows
git-for-windows-ci pushed a commit that referenced this pull request Jan 29, 2020
mingw: fix fatal error working on mapped network drives on Windows
git-for-windows-ci pushed a commit that referenced this pull request Jan 29, 2020
mingw: fix fatal error working on mapped network drives on Windows
git-for-windows-ci pushed a commit that referenced this pull request Jan 29, 2020
mingw: fix fatal error working on mapped network drives on Windows
git-for-windows-ci pushed a commit that referenced this pull request Jan 29, 2020
mingw: fix fatal error working on mapped network drives on Windows
dscho added a commit that referenced this pull request Nov 17, 2025
mingw: fix fatal error working on mapped network drives on Windows
git-for-windows-ci pushed a commit that referenced this pull request Nov 17, 2025
mingw: fix fatal error working on mapped network drives on Windows
git-for-windows-ci pushed a commit that referenced this pull request Nov 17, 2025
mingw: fix fatal error working on mapped network drives on Windows
dscho added a commit that referenced this pull request Nov 17, 2025
mingw: fix fatal error working on mapped network drives on Windows
git-for-windows-ci pushed a commit that referenced this pull request Nov 17, 2025
mingw: fix fatal error working on mapped network drives on Windows
git-for-windows-ci pushed a commit that referenced this pull request Nov 17, 2025
mingw: fix fatal error working on mapped network drives on Windows
git-for-windows-ci pushed a commit that referenced this pull request Nov 17, 2025
mingw: fix fatal error working on mapped network drives on Windows
dscho added a commit that referenced this pull request Nov 18, 2025
mingw: fix fatal error working on mapped network drives on Windows
git-for-windows-ci pushed a commit that referenced this pull request Nov 18, 2025
mingw: fix fatal error working on mapped network drives on Windows
git-for-windows-ci pushed a commit that referenced this pull request Nov 18, 2025
mingw: fix fatal error working on mapped network drives on Windows
git-for-windows-ci pushed a commit that referenced this pull request Nov 18, 2025
mingw: fix fatal error working on mapped network drives on Windows
git-for-windows-ci pushed a commit that referenced this pull request Nov 19, 2025
mingw: fix fatal error working on mapped network drives on Windows
git-for-windows-ci pushed a commit that referenced this pull request Nov 20, 2025
mingw: fix fatal error working on mapped network drives on Windows
git-for-windows-ci pushed a commit that referenced this pull request Nov 20, 2025
mingw: fix fatal error working on mapped network drives on Windows
git-for-windows-ci pushed a commit that referenced this pull request Nov 20, 2025
mingw: fix fatal error working on mapped network drives on Windows
git-for-windows-ci pushed a commit that referenced this pull request Nov 20, 2025
mingw: fix fatal error working on mapped network drives on Windows
git-for-windows-ci pushed a commit that referenced this pull request Nov 21, 2025
mingw: fix fatal error working on mapped network drives on Windows
git-for-windows-ci pushed a commit that referenced this pull request Nov 21, 2025
mingw: fix fatal error working on mapped network drives on Windows
git-for-windows-ci pushed a commit that referenced this pull request Nov 21, 2025
mingw: fix fatal error working on mapped network drives on Windows
git-for-windows-ci pushed a commit that referenced this pull request Nov 21, 2025
mingw: fix fatal error working on mapped network drives on Windows
git-for-windows-ci pushed a commit that referenced this pull request Nov 21, 2025
mingw: fix fatal error working on mapped network drives on Windows
git-for-windows-ci pushed a commit that referenced this pull request Nov 21, 2025
mingw: fix fatal error working on mapped network drives on Windows
git-for-windows-ci pushed a commit that referenced this pull request Nov 24, 2025
mingw: fix fatal error working on mapped network drives on Windows
git-for-windows-ci pushed a commit that referenced this pull request Nov 24, 2025
mingw: fix fatal error working on mapped network drives on Windows
git-for-windows-ci pushed a commit that referenced this pull request Nov 25, 2025
mingw: fix fatal error working on mapped network drives on Windows
git-for-windows-ci pushed a commit that referenced this pull request Nov 25, 2025
mingw: fix fatal error working on mapped network drives on Windows
git-for-windows-ci pushed a commit that referenced this pull request Nov 25, 2025
mingw: fix fatal error working on mapped network drives on Windows
git-for-windows-ci pushed a commit that referenced this pull request Nov 25, 2025
mingw: fix fatal error working on mapped network drives on Windows
git-for-windows-ci pushed a commit that referenced this pull request Nov 25, 2025
mingw: fix fatal error working on mapped network drives on Windows
git-for-windows-ci pushed a commit that referenced this pull request Nov 25, 2025
mingw: fix fatal error working on mapped network drives on Windows
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants