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