Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
submodule: don't access the .gitmodules cache entry after removing it
[gitweb.git]
/
test-path-utils.c
diff --git
a/test-path-utils.c
b/test-path-utils.c
index 1bf4730619fd76bc2bf672c3c24f96d3f210cdb8..3dd3744a57cffd2a98be5cd551cda475c746e646 100644
(file)
--- a/
test-path-utils.c
+++ b/
test-path-utils.c
@@
-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;