Provide git_config with a callback-data parameter
[git/git.git] / builtin-diff.c
index 7c2a841..583291a 100644 (file)
@@ -234,7 +234,7 @@ int cmd_diff(int argc, const char **argv, const char *prefix)
         */
 
        prefix = setup_git_directory_gently(&nongit);
-       git_config(git_diff_ui_config);
+       git_config(git_diff_ui_config, NULL);
 
        if (diff_use_color_default == -1)
                diff_use_color_default = git_use_color_default;