]> git.ipfire.org Git - thirdparty/git.git/commit
Merge branch 'jt/avoid-lazy-fetch-commits'
authorJunio C Hamano <gitster@pobox.com>
Thu, 5 Jan 2023 06:07:17 +0000 (15:07 +0900)
committerJunio C Hamano <gitster@pobox.com>
Thu, 5 Jan 2023 06:07:17 +0000 (15:07 +0900)
commit1f9b02b970538e14086d07d6a8cc219259420a6f
tree473d39acb81bb66f78a873d5392d627108bc3a1c
parent319c3abadb047b37e33195f29486794501c8f83f
parent7e2ad1cda2759a14f7b046c4c82e2418f8af878c
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
commit.c
object-file.c