pack-redundant: rename pack_list.all_objects
[gitweb.git] / builtin / range-diff.c
index cc06e86a721731787be9ae4d8537dcc0d52aa678..f01a0be8513412789ca49e28b0cc2519b7c04760 100644 (file)
@@ -20,7 +20,7 @@ int cmd_range_diff(int argc, const char **argv, const char *prefix)
                OPT_INTEGER(0, "creation-factor", &creation_factor,
                            N_("Percentage by which creation is weighted")),
                OPT_BOOL(0, "no-dual-color", &simple_color,
-                           N_("color both diff and diff-between-diffs")),
+                           N_("use simple diff colors")),
                OPT_END()
        };
        int i, j, res = 0;
@@ -28,7 +28,7 @@ int cmd_range_diff(int argc, const char **argv, const char *prefix)
 
        git_config(git_diff_ui_config, NULL);
 
-       diff_setup(&diffopt);
+       repo_diff_setup(the_repository, &diffopt);
 
        argc = parse_options(argc, argv, NULL, options,
                             builtin_range_diff_usage, PARSE_OPT_KEEP_UNKNOWN |