Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
Merge branch 'ph/checkout'
[gitweb.git]
/
test-path-utils.c
diff --git
a/test-path-utils.c
b/test-path-utils.c
index 842b58018f7efebf7f92cee117d1a0b50297a12e..a0bcb0e210523124fa977c8bf46667cf25d0335f 100644
(file)
--- a/
test-path-utils.c
+++ b/
test-path-utils.c
@@
-17,5
+17,10
@@
int main(int argc, char **argv)
}
}
+ if (argc == 4 && !strcmp(argv[1], "longest_ancestor_length")) {
+ int len = longest_ancestor_length(argv[2], argv[3]);
+ printf("%d\n", len);
+ }
+
return 0;
}