From: Nguyễn Thái Ngọc Duy Date: Sun, 18 Nov 2018 16:47:56 +0000 (+0100) Subject: tree.c: make read_tree*() take 'struct repository *' X-Git-Tag: v2.21.0-rc0~122^2~4 X-Git-Url: https://git.lorimer.id.au/gitweb.git/diff_plain/e092073d643b17c82d72cf692fbfaea9c9796f11?hp=e092073d643b17c82d72cf692fbfaea9c9796f11 tree.c: make read_tree*() take 'struct repository *' These functions call tree_entry_interesting() which will soon require a 'struct index_state *' to be passed in. Instead of just changing the function signature to take an index, update to take a repo instead because these functions do need object database access. Signed-off-by: Nguyễn Thái Ngọc Duy Signed-off-by: Junio C Hamano ---