Fold test-absolute-path into test-path-utils
Signed-off-by: David Reiss <dreiss@facebook.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
This commit is contained in:

committed by
Junio C Hamano

parent
ae299be0e5
commit
d553e73789
@ -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;
|
||||
}
|
||||
|
Reference in New Issue
Block a user