summaryrefslogtreecommitdiffstats
path: root/blame.c
diff options
context:
space:
mode:
authorBrandon Williams <bmwill@google.com>2017-06-13 00:13:55 +0200
committerJunio C Hamano <gitster@pobox.com>2017-06-13 20:40:51 +0200
commit82b474e025e89cfa294e81611c81355a73dc23a2 (patch)
tree7e0114fa1a11212629ff9c47a95a59fdb69222bd /blame.c
parentconvert: convert convert_to_git_filter_fd to take an index (diff)
downloadgit-82b474e025e89cfa294e81611c81355a73dc23a2.tar.xz
git-82b474e025e89cfa294e81611c81355a73dc23a2.zip
convert: convert convert_to_git to take an index
Signed-off-by: Brandon Williams <bmwill@google.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'blame.c')
-rw-r--r--blame.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/blame.c b/blame.c
index 843c845cba..a6f3d72df8 100644
--- a/blame.c
+++ b/blame.c
@@ -229,7 +229,7 @@ static struct commit *fake_working_tree_commit(struct diff_options *opt,
if (strbuf_read(&buf, 0, 0) < 0)
die_errno("failed to read from stdin");
}
- convert_to_git(path, buf.buf, buf.len, &buf, 0);
+ convert_to_git(&the_index, 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_oid.hash);