Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
add: convert to use parse_pathspec
[gitweb.git]
/
diff-lib.c
diff --git
a/diff-lib.c
b/diff-lib.c
index b6f4b21637fe66a614a0dd6581f90fc12e80a6f8..d4e17f76620a46a659c7affcb3cd270f86b5a957 100644
(file)
--- a/
diff-lib.c
+++ b/
diff-lib.c
@@
-476,7
+476,6
@@
static int diff_cache(struct rev_info *revs,
opts.dst_index = NULL;
opts.pathspec = &revs->diffopt.pathspec;
opts.pathspec->recursive = 1;
- opts.pathspec->max_depth = -1;
init_tree_desc(&t, tree->buffer, tree->size);
return unpack_trees(1, &t, &opts);