Windows: Allow using UNC path for git repository
commit6c536a98b3b579c682ad8b6e4b016f87889948b1
authorCezary Zawadka <czawadka@gmail.com>
Tue, 13 Jul 2010 14:17:43 +0000 (13 16:17 +0200)
committerStepan Kasal <kasal@ucw.cz>
Thu, 29 May 2014 08:39:32 +0000 (29 10:39 +0200)
tree51ecc4c94c2b654a44ae491e9df0d2c40d1e8312
parentc896851d98fb2be873a435ee773474649c5821e5
Windows: Allow using UNC path for git repository

[efl: moved MinGW-specific part to compat/]
[jes: fixed compilation on non-Windows]

Eric Sunshine fixed mingw_offset_1st_component() to return consistently "foo"
for UNC "//machine/share/foo", cf
http://groups.google.com/group/msysgit/browse_thread/thread/c0af578549b5dda0

Author: Eric Sunshine <sunshine@sunshineco.com>
Signed-off-by: Cezary Zawadka <czawadka@gmail.com>
Signed-off-by: Eric Sunshine <sunshine@sunshineco.com>
Signed-off-by: Erik Faye-Lund <kusmabite@gmail.com>
Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
Signed-off-by: Stepan Kasal <kasal@ucw.cz>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
cache.h
compat/mingw.c
compat/mingw.h
git-compat-util.h
path.c