pack-objects: fix threaded load balancing
[gitweb.git] / builtin-commit.c
index 2ec8223132807e1df77512d3d77efd71b790496a..19297ac027ab88ffe01d4b9b5dc12c7ae556f6c1 100644 (file)
@@ -285,7 +285,8 @@ static int run_status(FILE *fp, const char *index_file, const char *prefix)
        struct wt_status s;
 
        wt_status_prepare(&s);
-       s.prefix = prefix;
+       if (wt_status_relative_paths)
+               s.prefix = prefix;
 
        if (amend) {
                s.amend = 1;