Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
glossary: more precise definition of tree-ish (a.k.a. treeish)
[gitweb.git]
/
test-path-utils.c
diff --git
a/test-path-utils.c
b/test-path-utils.c
index 1bf4730619fd76bc2bf672c3c24f96d3f210cdb8..bb975e4d3eaf54bb162ecdad8b4b8995c84fb035 100644
(file)
--- 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;