Merge branch 'tb/push-to-cygwin-unc-path' into maint
authorJunio C Hamano <gitster@pobox.com>
Mon, 31 Jul 2017 20:51:04 +0000 (13:51 -0700)
committerJunio C Hamano <gitster@pobox.com>
Mon, 31 Jul 2017 20:51:04 +0000 (13:51 -0700)
commit49f1e2eb1b9a6c878783e30d48436a619773fe56
tree34fa9761842eeab8a41d81de8f6a0042b38d8693
parentbc2c50fc2c6ed72140ade798fc4d5c9ddf2d50c4
parent496f2569892273a142889193350ceb95b6019011
Merge branch 'tb/push-to-cygwin-unc-path' into maint

On Cygwin, similar to Windows, "git push //server/share/repository"
ought to mean a repository on a network share that can be accessed
locally, but this did not work correctly due to stripping the double
slashes at the beginning.

This may need to be heavily tested before it gets unleashed to the
wild, as the change is at a fairly low-level code and would affect
not just the code to decide if the push destination is local.  There
may be unexpected fallouts in the path normalization.

* tb/push-to-cygwin-unc-path:
  cygwin: allow pushing to UNC paths