summaryrefslogtreecommitdiff
path: root/compat/mingw.h
diff options
context:
space:
mode:
authorLibravatar Junio C Hamano <gitster@pobox.com>2014-06-16 10:07:03 -0700
committerLibravatar Junio C Hamano <gitster@pobox.com>2014-06-16 10:07:03 -0700
commitb83163643bd7459385003fa58ae049a31f2984cb (patch)
treeed048a2befb3b9d4f1a51175db7d2db939bb0b46 /compat/mingw.h
parentMerge branch 'rr/rebase-autostash-fix' (diff)
parentWindows: allow using UNC path for git repository (diff)
downloadtgif-b83163643bd7459385003fa58ae049a31f2984cb.tar.xz
Merge branch 'sk/windows-unc-path'
* sk/windows-unc-path: Windows: allow using UNC path for git repository
Diffstat (limited to 'compat/mingw.h')
-rw-r--r--compat/mingw.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/compat/mingw.h b/compat/mingw.h
index e033e720c9..3eaf822e28 100644
--- a/compat/mingw.h
+++ b/compat/mingw.h
@@ -339,6 +339,8 @@ static inline char *mingw_find_last_dir_sep(const char *path)
return ret;
}
#define find_last_dir_sep mingw_find_last_dir_sep
+int mingw_offset_1st_component(const char *path);
+#define offset_1st_component mingw_offset_1st_component
#define PATH_SEP ';'
#define PRIuMAX "I64u"
#define PRId64 "I64d"