From 0ca14a57f159fc9d0923dbb122705dd8d6a45488 Mon Sep 17 00:00:00 2001 From: Linus Torvalds Date: Thu, 14 Jul 2005 11:26:31 -0700 Subject: Start adding interfaces to read in partial trees The same way "git-diff-tree" can limit its output to just a set of matches, we can read in just a partial tree for comparison purposes. --- diff-cache.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'diff-cache.c') diff --git a/diff-cache.c b/diff-cache.c index c435844a25..d78cbb5d65 100644 --- a/diff-cache.c +++ b/diff-cache.c @@ -278,7 +278,7 @@ int main(int argc, const char **argv) tree = read_object_with_reference(sha1, "tree", &size, NULL); if (!tree) die("bad tree object %s", tree_name); - if (read_tree(tree, size, 1)) + if (read_tree(tree, size, 1, NULL)) die("unable to read tree object %s", tree_name); ret = diff_cache(active_cache, active_nr); -- cgit 1.2.3-korg