builtin/merge.c: drop a parameter that is never used
[gitweb.git] / test-path-utils.c
index 1bf4730619fd76bc2bf672c3c24f96d3f210cdb8..3dd3744a57cffd2a98be5cd551cda475c746e646 100644 (file)
@@ -116,6 +116,11 @@ int main(int argc, char **argv)
                return 0;
        }
 
+       if (argc == 3 && !strcmp(argv[1], "print_path")) {
+               puts(argv[2]);
+               return 0;
+       }
+
        if (argc == 4 && !strcmp(argv[1], "relative_path")) {
                struct strbuf sb = STRBUF_INIT;
                const char *in, *prefix, *rel;