summaryrefslogtreecommitdiff
path: root/sha1_file.c
diff options
context:
space:
mode:
authorBrandon Williams <bmwill@google.com>2017-06-12 22:13:54 (GMT)
committerJunio C Hamano <gitster@pobox.com>2017-06-13 18:40:51 (GMT)
commitd6c41c20e688a1b284b92d92320ba56f639688de (patch)
tree1ef198c6b461be52fc41d3aee78a94328127e9a4 /sha1_file.c
parent49a6d31fc8c4277b1c5f5b82331e7190afa1d4ce (diff)
downloadgit-d6c41c20e688a1b284b92d92320ba56f639688de.zip
git-d6c41c20e688a1b284b92d92320ba56f639688de.tar.gz
git-d6c41c20e688a1b284b92d92320ba56f639688de.tar.bz2
convert: convert convert_to_git_filter_fd to take an index
Signed-off-by: Brandon Williams <bmwill@google.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'sha1_file.c')
-rw-r--r--sha1_file.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sha1_file.c b/sha1_file.c
index 59a4ed2..ab09241 100644
--- a/sha1_file.c
+++ b/sha1_file.c
@@ -3580,7 +3580,7 @@ static int index_stream_convert_blob(unsigned char *sha1, int fd,
assert(path);
assert(would_convert_to_git_filter_fd(path));
- convert_to_git_filter_fd(path, fd, &sbuf,
+ convert_to_git_filter_fd(&the_index, path, fd, &sbuf,
write_object ? safe_crlf : SAFE_CRLF_FALSE);
if (write_object)