Retire diffcore-pathspec.
Nobody except diff-stages used it -- the callers instead filtered the input to diffcore themselves. Make diff-stages do that as well and retire diffcore-pathspec. Signed-off-by: Junio C Hamano <junkio@cox.net>
This commit is contained in:
2
diff.c
2
diff.c
@ -1375,8 +1375,6 @@ static void diffcore_apply_filter(const char *filter)
|
||||
|
||||
void diffcore_std(struct diff_options *options)
|
||||
{
|
||||
if (options->paths && options->paths[0])
|
||||
diffcore_pathspec(options->paths);
|
||||
if (options->break_opt != -1)
|
||||
diffcore_break(options->break_opt);
|
||||
if (options->detect_rename)
|
||||
|
Reference in New Issue
Block a user