diff options
author | Brandon Williams <bmwill@google.com> | 2017-06-13 01:13:54 +0300 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2017-06-13 21:40:51 +0300 |
commit | d6c41c20e688a1b284b92d92320ba56f639688de (patch) | |
tree | 1ef198c6b461be52fc41d3aee78a94328127e9a4 /sha1_file.c | |
parent | 49a6d31fc8c4277b1c5f5b82331e7190afa1d4ce (diff) |
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.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sha1_file.c b/sha1_file.c index 59a4ed2ed3..ab09241d20 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) |