summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@ppc970.osdl.org>2005-05-27 00:41:28 (GMT)
committerLinus Torvalds <torvalds@ppc970.osdl.org>2005-05-27 00:41:28 (GMT)
commitfbe082a528861af785be15bb37d1c7d8f574daa4 (patch)
tree1179e1cc76a57f4e4a4d05a4de16c6ff65c5bd20
parentc504aae2a6c96f1363562a3aa1dc05fb4462e978 (diff)
downloadgit-fbe082a528861af785be15bb37d1c7d8f574daa4.zip
git-fbe082a528861af785be15bb37d1c7d8f574daa4.tar.gz
git-fbe082a528861af785be15bb37d1c7d8f574daa4.tar.bz2
git-diff-tree: don't use diffcore_pathspec()
diff-tree does the culling of uninteresting paths internally, and fundamentally has to do so for performance reasons. So there's no point in calling the separate pathname culling logic here, especially as it seems slightly broken.
-rw-r--r--diff-tree.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/diff-tree.c b/diff-tree.c
index 7e16be4..8297b7f 100644
--- a/diff-tree.c
+++ b/diff-tree.c
@@ -268,8 +268,6 @@ static int call_diff_flush(void)
diff_flush(DIFF_FORMAT_NO_OUTPUT, 0);
return 0;
}
- if (nr_paths)
- diffcore_pathspec(paths);
if (header) {
if (diff_output_format == DIFF_FORMAT_MACHINE) {
const char *ep, *cp;