X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;ds=sidebyside;f=convert.c;h=1c66844783ec3baa1373b3f0c41ea080bc7354fe;hb=20827d99c5ee079d92831474a0b6e66b79757dbd;hp=d8c94cb3edeceff7a79b2f5e6ba7cad250e6b301;hpb=319a36a5c2da8dd07993caac43b7820bff3b0d37;p=git.git diff --git a/convert.c b/convert.c index d8c94cb3e..1c6684478 100644 --- a/convert.c +++ b/convert.c @@ -323,7 +323,7 @@ static struct convert_driver { char *clean; } *user_convert, **user_convert_tail; -static int read_convert_config(const char *var, const char *value) +static int read_convert_config(const char *var, const char *value, void *cb) { const char *ep, *name; int namelen; @@ -385,7 +385,7 @@ static void setup_convert_check(struct git_attr_check *check) attr_ident = git_attr("ident", 5); attr_filter = git_attr("filter", 6); user_convert_tail = &user_convert; - git_config(read_convert_config); + git_config(read_convert_config, NULL); } check[0].attr = attr_crlf; check[1].attr = attr_ident;