From d6c41c20e688a1b284b92d92320ba56f639688de Mon Sep 17 00:00:00 2001 From: Brandon Williams Date: Mon, 12 Jun 2017 15:13:54 -0700 Subject: convert: convert convert_to_git_filter_fd to take an index Signed-off-by: Brandon Williams Signed-off-by: Junio C Hamano --- convert.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'convert.h') diff --git a/convert.h b/convert.h index 667b7dfe07..3a813a7976 100644 --- a/convert.h +++ b/convert.h @@ -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); -- cgit v1.2.3