diff options
author | Brandon Williams <bmwill@google.com> | 2017-06-13 00:13:52 +0200 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2017-06-13 20:40:51 +0200 |
commit | a7609c54b399219bae5b8b94b305cf8e18bf20f8 (patch) | |
tree | 42f8415900d0958b655eb6a90ede151fac6012fa /convert.h | |
parent | Merge branch 'master' of git://bogomips.org/git-svn (diff) | |
download | git-a7609c54b399219bae5b8b94b305cf8e18bf20f8.tar.xz git-a7609c54b399219bae5b8b94b305cf8e18bf20f8.zip |
convert: convert get_cached_convert_stats_ascii 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 | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -4,6 +4,8 @@ #ifndef CONVERT_H #define CONVERT_H +struct index_state; + enum safe_crlf { SAFE_CRLF_FALSE = 0, SAFE_CRLF_FAIL = 1, @@ -33,7 +35,8 @@ enum eol { }; extern enum eol core_eol; -extern const char *get_cached_convert_stats_ascii(const char *path); +extern const char *get_cached_convert_stats_ascii(const struct index_state *istate, + const char *path); extern const char *get_wt_convert_stats_ascii(const char *path); extern const char *get_convert_attr_ascii(const char *path); |