summaryrefslogtreecommitdiff
path: root/test-path-utils.c
diff options
context:
space:
mode:
Diffstat (limited to 'test-path-utils.c')
-rw-r--r--test-path-utils.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/test-path-utils.c b/test-path-utils.c
index 1bf4730619..bb975e4d3e 100644
--- a/test-path-utils.c
+++ b/test-path-utils.c
@@ -116,6 +116,11 @@ int main(int argc, char **argv)
return 0;
}
+ if (argc == 3 && !strcmp(argv[1], "mingw_path")) {
+ puts(argv[2]);
+ return 0;
+ }
+
if (argc == 4 && !strcmp(argv[1], "relative_path")) {
struct strbuf sb = STRBUF_INIT;
const char *in, *prefix, *rel;