Merge branch 'tb/push-to-cygwin-unc-path'
commit33400c0e96460f36708789a6a3c8eeb7cbc8f0cc
authorJunio C Hamano <gitster@pobox.com>
Tue, 18 Jul 2017 19:48:09 +0000 (18 12:48 -0700)
committerJunio C Hamano <gitster@pobox.com>
Tue, 18 Jul 2017 19:48:09 +0000 (18 12:48 -0700)
tree353ea68a6b56abfa0ccc9590a23adaf25dbf3acb
parentf3da2b79be9565779e4f76dc5812c68e156afdf0
parent496f2569892273a142889193350ceb95b6019011
Merge branch 'tb/push-to-cygwin-unc-path'

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
config.mak.uname
git-compat-util.h