Code

hooks-pre-commit: use \t, rather than a literal TAB in regexp
[git.git] / builtin-blame.c
index e3112a2d5bb2158bcc189942090a936c3f2b7cf6..8432b823e6ef6020a897838e7a561c3919c31f0b 100644 (file)
@@ -2059,6 +2059,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);
        origin->file.ptr = buf.buf;
        origin->file.size = buf.len;
        pretend_sha1_file(buf.buf, buf.len, OBJ_BLOB, origin->blob_sha1);