fsck: Don't require tmp_obj_ file names are 14 bytes in length
[gitweb.git] / exec_cmd.c
index c23603452e78f95e738392413a9fefd0ede71e3b..0ed768ddc0ac321f0d8dcf8b501412a0b440c31e 100644 (file)
@@ -50,7 +50,7 @@ static void add_path(struct strbuf *out, const char *path)
                if (is_absolute_path(path))
                        strbuf_addstr(out, path);
                else
-                       strbuf_addstr(out, make_absolute_path(path));
+                       strbuf_addstr(out, make_nonrelative_path(path));
 
                strbuf_addch(out, PATH_SEP);
        }