From: Junio C Hamano Date: Thu, 5 Jan 2023 06:07:17 +0000 (+0900) Subject: Merge branch 'jt/avoid-lazy-fetch-commits' X-Git-Tag: v2.40.0-rc0~111 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=1f9b02b970538e14086d07d6a8cc219259420a6f;p=thirdparty%2Fgit.git Merge branch 'jt/avoid-lazy-fetch-commits' Even in a repository with promisor remote, it is useless to attempt to lazily attempt fetching an object that is expected to be commit, because no "filter" mode omits commit objects. Take advantage of this assumption to fail fast on errors. * jt/avoid-lazy-fetch-commits: commit: don't lazy-fetch commits object-file: emit corruption errors when detected object-file: refactor map_loose_object_1() object-file: remove OBJECT_INFO_IGNORE_LOOSE --- 1f9b02b970538e14086d07d6a8cc219259420a6f