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 /convert.h | |
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 'convert.h')
-rw-r--r-- | convert.h | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -52,7 +52,8 @@ static inline int would_convert_to_git(const char *path) return convert_to_git(path, NULL, 0, NULL, 0); } /* Precondition: would_convert_to_git_filter_fd(path) == true */ -extern void convert_to_git_filter_fd(const char *path, int fd, +extern void convert_to_git_filter_fd(const struct index_state *istate, + const char *path, int fd, struct strbuf *dst, enum safe_crlf checksafe); extern int would_convert_to_git_filter_fd(const char *path); |