aboutsummaryrefslogtreecommitdiff
path: root/diff.c
diff options
context:
space:
mode:
authorJunio C Hamano <junkio@cox.net>2006-04-10 15:57:24 -0700
committerJunio C Hamano <junkio@cox.net>2006-04-10 15:57:24 -0700
commit77882f60d9df2fd410ba7d732b01738315643c05 (patch)
tree19c1d865c1b4f5f50fa9938d4a482416c703c8b3 /diff.c
parenta13ba129cdc66b60eef177696084ff80034069b7 (diff)
downloadgit-77882f60d9df2fd410ba7d732b01738315643c05.tar.gz
git-77882f60d9df2fd410ba7d732b01738315643c05.tar.xz
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>
Diffstat (limited to 'diff.c')
-rw-r--r--diff.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/diff.c b/diff.c
index 30e4d50b9..2fa285a8e 100644
--- a/diff.c
+++ b/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)