]> git.ipfire.org Git - thirdparty/git.git/commit
object-file: update object_info_extended to reencode objects
authorEric W. Biederman <ebiederm@xmission.com>
Mon, 2 Oct 2023 02:40:24 +0000 (21:40 -0500)
committerJunio C Hamano <gitster@pobox.com>
Mon, 2 Oct 2023 21:57:40 +0000 (14:57 -0700)
commit2328ebaa4ef7a921c7021db9e83e122dbe2ac7ad
tree6b76b1ecbd24ba0779472a652d8d8308bd76c80a
parent08a45903cb32304946c11dfb2239db448777aed7
object-file: update object_info_extended to reencode objects

oid_object_info_extended is updated to detect an oid encoding that
does not match the current repository, use repo_oid_to_algop to find
the correspoding oid in the current repository and to return the data
for the oid.

Signed-off-by: "Eric W. Biederman" <ebiederm@xmission.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
object-file.c