]> git.ipfire.org Git - thirdparty/git.git/commit
promisor-remote: remove a return value
authorJonathan Tan <jonathantanmy@google.com>
Tue, 4 Oct 2022 21:13:40 +0000 (14:13 -0700)
committerJunio C Hamano <gitster@pobox.com>
Wed, 5 Oct 2022 18:06:52 +0000 (11:06 -0700)
commit00057bf14c9269cb26a6b8ba7e8bc9ecd634d22c
treed7a430a618aa3cc4a1d6a66f92e1f897c4a954b2
parenta0feb8611d4c0b2b5d954efe4e98207f62223436
promisor-remote: remove a return value

No caller of promisor_remote_get_direct() is checking its return value,
so remove it.

Not checking the return value means that the user would not know
whether the failure of reading an object is due to the promisor remote
not supplying the object or because of local repository corruption, but
this will be fixed in a subsequent patch.

Signed-off-by: Jonathan Tan <jonathantanmy@google.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
promisor-remote.c
promisor-remote.h