mirror of
https://github.com/git/git.git
synced 2026-01-10 01:56:42 +00:00
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>
This commit is contained in:
committed by
Junio C Hamano
parent
82b474e025
commit
a33e0b2a77
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user