Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.kernel.org/pub/scm/git/git.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Reiss <dreiss@facebook.com>2008-05-20 10:49:00 +0400
committerJunio C Hamano <gitster@pobox.com>2008-05-24 01:15:01 +0400
commitd553e737897e8edbbc2092bf345fc58b2dae5251 (patch)
tree9de693a3d6cd4f0f76674925adc752476f4d00c5 /test-path-utils.c
parentae299be0e5e610027e6492d48d70c1cbb0e9edd8 (diff)
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;
}