]> git.ipfire.org Git - thirdparty/git.git/blobdiff - pretty.c
config: add ctx arg to config_fn_t
[thirdparty/git.git] / pretty.c
index 0bb938021ba593df826b91d39a2ec7a059e84b61..872453534520d86569e2dedae97f6262141d28e2 100644 (file)
--- a/pretty.c
+++ b/pretty.c
@@ -56,6 +56,7 @@ static void save_user_format(struct rev_info *rev, const char *cp, int is_tforma
 }
 
 static int git_pretty_formats_config(const char *var, const char *value,
+                                    const struct config_context *ctx UNUSED,
                                     void *cb UNUSED)
 {
        struct cmt_fmt_map *commit_format = NULL;