safecrlf: Add mechanism to warn about irreversible crlf conversions
[gitweb.git] / builtin-blame.c
index 9b4c02e87f7ef4a20d269ab9315b6977cf7fb3fb..c361ee194e0bbbfafdf97d92cf8d68a8eb638dfd 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);