Merge branch 'sk/windows-unc-path'

* sk/windows-unc-path:
  Windows: allow using UNC path for git repository
This commit is contained in:
Junio C Hamano
2014-06-16 10:07:03 -07:00
5 changed files with 30 additions and 8 deletions

View File

@ -267,6 +267,10 @@ extern char *gitbasename(char *);
#define has_dos_drive_prefix(path) 0
#endif
#ifndef offset_1st_component
#define offset_1st_component(path) (is_dir_sep((path)[0]))
#endif
#ifndef is_dir_sep
#define is_dir_sep(c) ((c) == '/')
#endif