worktree: rename is_worktree_locked to worktree_lock_reason
[gitweb.git] / builtin / range-diff.c
index 96af5374937e5b8b99343e8d324e54e98fb11743..f01a0be8513412789ca49e28b0cc2519b7c04760 100644 (file)
@@ -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 |