forked from git/git
-
Notifications
You must be signed in to change notification settings - Fork 2.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'unc-path-w-backslashes'
This topic branch addresses a problem identified in #439: while cloning/fetching/pushing from "POSIX-ified UNC paths" (i.e. UNC paths whose backslashes have been converted to forward slashes) works for some time now, true UNC paths (with backslashes left intact) were handled incorrectly. Example: git clone //myserver/folder/repo.git works, but git clone \\myserver\folder\repo.git (in CMD; in Git Bash, the backslashes would need to be doubled) used to fail. The reason was an unexpected difference in command-line handling between Win32 executables and MSYS2 ones (such as the shell that is used by git-clone.exe to spawn git-upload-pack.exe). This topic branch features a workaround *just* for the case where Git passes stuff through sh.exe (which covers quite a few use cases, though). Signed-off-by: Johannes Schindelin <[email protected]>
- Loading branch information
Showing
2 changed files
with
40 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters