diff options
author | Brandon Williams <bmwill@google.com> | 2017-06-13 00:13:54 +0200 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2017-06-13 20:40:51 +0200 |
commit | d6c41c20e688a1b284b92d92320ba56f639688de (patch) | |
tree | 1ef198c6b461be52fc41d3aee78a94328127e9a4 /sha1_file.c | |
parent | convert: convert crlf_to_git to take an index (diff) | |
download | git-d6c41c20e688a1b284b92d92320ba56f639688de.tar.xz git-d6c41c20e688a1b284b92d92320ba56f639688de.zip |
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 '')
-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) |