Windows: Make OpenSSH properly detect tty detachment.
[gitweb.git] / test-path-utils.c
index 842b58018f7efebf7f92cee117d1a0b50297a12e..a0bcb0e210523124fa977c8bf46667cf25d0335f 100644 (file)
@@ -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;
 }