projects
/
git.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c504aae
)
git-diff-tree: don't use diffcore_pathspec()
author
Linus Torvalds
<torvalds@ppc970.osdl.org>
Fri, 27 May 2005 00:41:28 +0000
(17:41 -0700)
committer
Linus Torvalds
<torvalds@ppc970.osdl.org>
Fri, 27 May 2005 00:41:28 +0000
(17:41 -0700)
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.
diff-tree.c
patch
|
blob
|
history
diff --git
a/diff-tree.c
b/diff-tree.c
index
7e16be4
..
8297b7f
100644
(file)
--- 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;