]> source.dussan.org Git - jgit.git/commit
Annotate the exception with the possible failure reason when Bitmaps are not enabled. 45/192845/3
authorRonald Bhuleskar <funronald@google.com>
Wed, 20 Apr 2022 17:28:30 +0000 (10:28 -0700)
committerRonald Bhuleskar <funronald@google.com>
Wed, 15 Jun 2022 20:42:39 +0000 (16:42 -0400)
commit7f4fa5655abfcf731fd4a3869620b4e6dc55998e
treed156fd64f4bac7f8b181e91add6f8cc4ee5b0abf
parent5868543f1717f643342388d7476e1869edc8e9f7
Annotate the exception with the possible failure reason when Bitmaps are not enabled.

When bitmaps are not enabled the RevWalk is expensive. AllowFilter
provides an override to continue walking. PedestrianWalk can be
expensive and fails when the clone is a partial clone using
--filter=tree:0. This can only work when bitmaps are enabled.

Having a message to the exception improves debuggability of such cases.

Change-Id: Ie61de20a39a765e6f6f77e81b4c3bbda2eefbaf3
org.eclipse.jgit/src/org/eclipse/jgit/transport/UploadPack.java