gitweb.cgi: Teach git_history() to read hash from $hash_base
[gitweb.git] / builtin-diff-stages.c
index 30931fe0498753ed3a7f68be064027391a82e677..9c62702941569511a149eba89a8be2b478f04b70 100644 (file)
@@ -61,7 +61,7 @@ int cmd_diff_stages(int ac, const char **av, char **envp)
        const char *prefix = setup_git_directory();
        const char **pathspec = NULL;
 
-       git_config(git_diff_config);
+       git_config(git_default_config); /* no "diff" UI options */
        read_cache();
        diff_setup(&diff_options);
        while (1 < ac && av[1][0] == '-') {