sending errors to stdout under $PAGER
[gitweb.git] / upload-pack.c
index 7e04311027176fc87c1de7dd619000d2a75d4eb9..51e3ec49d120f2e5a095cde45eb0a22bb7e624da 100644 (file)
@@ -620,6 +620,9 @@ int main(int argc, char **argv)
 
        if (i != argc-1)
                usage(upload_pack_usage);
+
+       setup_path(NULL);
+
        dir = argv[i];
 
        if (!enter_repo(dir, strict))