X-Git-Url: http://git.ipfire.org/?a=blobdiff_plain;f=tree.c;h=e62219803bee42889103e9607816f2d4125b6603;hb=0de1633783685e9fb1943551217cdda7edbd245b;hp=698ecf7af13871cf9639e969f368ba5d7b2e940a;hpb=997a1946a55cafb992c4ba8e5e0795aa73f5a4a9;p=thirdparty%2Fgit.git diff --git a/tree.c b/tree.c index 698ecf7af1..e62219803b 100644 --- a/tree.c +++ b/tree.c @@ -99,7 +99,7 @@ static int read_tree_1(struct tree *tree, struct strbuf *base, else continue; - len = tree_entry_len(entry.path, entry.sha1); + len = tree_entry_len(&entry); strbuf_add(base, entry.path, len); strbuf_addch(base, '/'); retval = read_tree_1(lookup_tree(sha1),