summaryrefslogtreecommitdiff
path: root/read-tree.c
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@g5.osdl.org>2005-07-14 11:26:31 -0700
committerLinus Torvalds <torvalds@g5.osdl.org>2005-07-14 11:26:31 -0700
commit0ca14a57f159fc9d0923dbb122705dd8d6a45488 (patch)
treee0c7f2bb000535b6bb919e5b3b1deae9242290bc /read-tree.c
parentd48a72f337fa8edfb7a09e620e75cbbb2a5fe836 (diff)
downloadgit-0ca14a57f159fc9d0923dbb122705dd8d6a45488.tar.gz
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.
Diffstat (limited to 'read-tree.c')
-rw-r--r--read-tree.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/read-tree.c b/read-tree.c
index 0d5ded5026..65f2d9a5dc 100644
--- a/read-tree.c
+++ b/read-tree.c
@@ -17,7 +17,7 @@ static int unpack_tree(unsigned char *sha1)
buffer = read_object_with_reference(sha1, "tree", &size, NULL);
if (!buffer)
return -1;
- ret = read_tree(buffer, size, stage);
+ ret = read_tree(buffer, size, stage, NULL);
free(buffer);
return ret;
}