Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
Merge branch 'jk/config-test-cleanup'
[gitweb.git]
/
diff-lib.c
diff --git
a/diff-lib.c
b/diff-lib.c
index c5e07545b22e4023d4b1196744294842a1d06f03..62f4cd94cfbc4d3fe9e46c84f318af6624349a48 100644
(file)
--- a/
diff-lib.c
+++ b/
diff-lib.c
@@
-468,6
+468,7
@@
static int diff_cache(struct rev_info *revs,
opts.unpack_data = revs;
opts.src_index = &the_index;
opts.dst_index = NULL;
+ opts.pathspec = &revs->diffopt.pathspec;
init_tree_desc(&t, tree->buffer, tree->size);
return unpack_trees(1, &t, &opts);