]> git.ipfire.org Git - thirdparty/git.git/commit
read_object_file_extended(): drop lookup_replace option
authorJeff King <peff@peff.net>
Sat, 7 Jan 2023 13:50:19 +0000 (08:50 -0500)
committerJunio C Hamano <gitster@pobox.com>
Sun, 8 Jan 2023 01:52:55 +0000 (10:52 +0900)
commit7be13f5f743978180ba377e12a312b773ed9af2b
tree824f3610aad9e93b5c2c034661eb52956b679449
parent34728d7f30c1af6cf48a72b807796b719ab1c111
read_object_file_extended(): drop lookup_replace option

Our sole caller always passes in "1", so we can just drop the parameter
entirely. Anybody who doesn't want this behavior could easily call
oid_object_info_extended() themselves, as we're just a thin wrapper
around it.

Signed-off-by: Jeff King <peff@peff.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
object-file.c
object-store.h