Code

Fold test-absolute-path into test-path-utils
[git.git] / test-path-utils.c
index 1bd43216f66b7e9395fa343fa174c826e41da3d7..842b58018f7efebf7f92cee117d1a0b50297a12e 100644 (file)
@@ -9,5 +9,13 @@ int main(int argc, char **argv)
                puts(buf);
        }
 
+       if (argc >= 2 && !strcmp(argv[1], "make_absolute_path")) {
+               while (argc > 2) {
+                       puts(make_absolute_path(argv[2]));
+                       argc--;
+                       argv++;
+               }
+       }
+
        return 0;
 }