]> git.ipfire.org Git - thirdparty/git.git/commit - tree.h
tree.c: make read_tree*() take 'struct repository *'
authorNguyễn Thái Ngọc Duy <pclouds@gmail.com>
Sun, 18 Nov 2018 16:47:56 +0000 (17:47 +0100)
committerJunio C Hamano <gitster@pobox.com>
Mon, 19 Nov 2018 01:50:33 +0000 (10:50 +0900)
commite092073d643b17c82d72cf692fbfaea9c9796f11
tree303e6f2f58bf1817a9b0f9365761e86c5bc1053a
parent0e94dab5be2fd17cfba634f8a29ba5461d2cbd9e
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 <pclouds@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
archive.c
builtin/checkout.c
builtin/log.c
builtin/ls-files.c
builtin/ls-tree.c
merge-recursive.c
tree.c
tree.h