summaryrefslogtreecommitdiff
path: root/test-path-utils.c
diff options
context:
space:
mode:
authorDavid Reiss <dreiss@facebook.com>2008-05-19 23:49:00 -0700
committerJunio C Hamano <gitster@pobox.com>2008-05-23 14:15:01 -0700
commitd553e737897e8edbbc2092bf345fc58b2dae5251 (patch)
tree9de693a3d6cd4f0f76674925adc752476f4d00c5 /test-path-utils.c
parentae299be0e5e610027e6492d48d70c1cbb0e9edd8 (diff)
downloadgit-d553e737897e8edbbc2092bf345fc58b2dae5251.tar.gz
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>
Diffstat (limited to 'test-path-utils.c')
-rw-r--r--test-path-utils.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/test-path-utils.c b/test-path-utils.c
index 1bd43216f6..842b58018f 100644
--- a/test-path-utils.c
+++ b/test-path-utils.c
@@ -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;
}