cocci: apply the "cache.h" part of "the_repository.pending"
Apply the part of "the_repository.pending.cocci" pertaining to "cache.h". Signed-off-by: Ævar Arnfjörð Bjarmason <avarab@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
This commit is contained in:

committed by
Junio C Hamano

parent
7258e892d2
commit
d850b7a545
@ -9,9 +9,9 @@ int cmd__match_trees(int ac, const char **av)
|
||||
|
||||
setup_git_directory();
|
||||
|
||||
if (get_oid(av[1], &hash1))
|
||||
if (repo_get_oid(the_repository, av[1], &hash1))
|
||||
die("cannot parse %s as an object name", av[1]);
|
||||
if (get_oid(av[2], &hash2))
|
||||
if (repo_get_oid(the_repository, av[2], &hash2))
|
||||
die("cannot parse %s as an object name", av[2]);
|
||||
one = parse_tree_indirect(&hash1);
|
||||
if (!one)
|
||||
|
Reference in New Issue
Block a user