Re: [PATCH] tree-walk: convert fill_tree_descriptor() to object_id

2017-08-12 Thread Johannes Sixt
Am 12.08.2017 um 09:14 schrieb René Scharfe: - Initialize a `tree_desc` and decode its first entry given the sha1 of - a tree. Returns the `buffer` member if the sha1 is a valid tree - identifier and NULL otherwise. + Initialize a `tree_desc` and decode its first entry giv

[PATCH] tree-walk: convert fill_tree_descriptor() to object_id

2017-08-12 Thread René Scharfe
All callers of fill_tree_descriptor() have been converted to object_id already, so convert that function as well. As a nice side-effect we get rid of NULL checks in tree-diff.c, as fill_tree_descriptor() already does them for us. Signed-off-by: Rene Scharfe --- Documentation/technical/api-tree-