diff options
author | Brandon Williams <bmwill@google.com> | 2017-06-12 15:13:56 -0700 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2017-06-13 11:40:51 -0700 |
commit | a33e0b2a77d7010ba8bf0e025fffaf98f464a938 (patch) | |
tree | 8a29e638dabfd58be446888daa618d24014d0ca5 /convert.h | |
parent | 82b474e025e89cfa294e81611c81355a73dc23a2 (diff) | |
download | git-a33e0b2a77d7010ba8bf0e025fffaf98f464a938.tar.gz |
convert: convert renormalize_buffer 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
@@ -46,7 +46,8 @@ extern int convert_to_git(const struct index_state *istate, struct strbuf *dst, enum safe_crlf checksafe); extern int convert_to_working_tree(const char *path, const char *src, size_t len, struct strbuf *dst); -extern int renormalize_buffer(const char *path, const char *src, size_t len, +extern int renormalize_buffer(const struct index_state *istate, + const char *path, const char *src, size_t len, struct strbuf *dst); static inline int would_convert_to_git(const struct index_state *istate, const char *path) |