Export some email and pretty-printing functions
[gitweb.git] / builtin-blame.c
index c7e68874e7f02ac150343ab6d7a0aa95601f2ba3..1cf254dcca7f814694741ce5ea1ec2b88a26706f 100644 (file)
@@ -2073,7 +2073,7 @@ static struct commit *fake_working_tree_commit(const char *path, const char *con
                if (strbuf_read(&buf, 0, 0) < 0)
                        die("read error %s from stdin", strerror(errno));
        }
-       convert_to_git(path, buf.buf, buf.len, &buf);
+       convert_to_git(path, buf.buf, buf.len, &buf, 0);
        origin->file.ptr = buf.buf;
        origin->file.size = buf.len;
        pretend_sha1_file(buf.buf, buf.len, OBJ_BLOB, origin->blob_sha1);