]> git.ipfire.org Git - thirdparty/git.git/blobdiff - compat/mingw.c
Merge branch 'ma/locate-in-path-for-windows'
[thirdparty/git.git] / compat / mingw.c
index f7f5d0ce0cc0b646e6d1b50581b5d762554e5211..ec5280da160135170e2d778cfcb19cea1752c211 100644 (file)
@@ -1347,6 +1347,11 @@ static char *path_lookup(const char *cmd, int exe_only)
        return prog;
 }
 
+char *mingw_locate_in_PATH(const char *cmd)
+{
+       return path_lookup(cmd, 0);
+}
+
 static const wchar_t *wcschrnul(const wchar_t *s, wchar_t c)
 {
        while (*s && *s != c)