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:
Junio C Hamano
2006-04-10 15:57:24 -07:00
parent a13ba129cd
commit 77882f60d9
5 changed files with 11 additions and 81 deletions

2
diff.c
View File

@ -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)