]> source.dussan.org Git - jgit.git/commit
Only throw MissingObjectException when necessary 09/94109/5
authorZhen Chen <czhen@google.com>
Thu, 30 Mar 2017 05:47:23 +0000 (22:47 -0700)
committerJonathan Nieder <jrn@google.com>
Wed, 5 Apr 2017 23:09:16 +0000 (19:09 -0400)
commitf5368dc97f564cf5eac3e7e2742680bf2f95fc0b
tree71c94993f5a52407f47e3a5d0b39413e9ca67111
parentf32d65759c9afdcbec28eb3051ed9138b8e03271
Only throw MissingObjectException when necessary

When preparing the bitmap, the flag ignoreMissingStart only applied to
the start object. However, sometime the start object is present but some
related objects are not present during the walk, we should only release
the MissingObjectException when the ignoreMissingStart is set false.

Change-Id: I1097a2defa4a9dcf502ca8baca5d32880378818f
Signed-off-by: Zhen Chen <czhen@google.com>
org.eclipse.jgit/src/org/eclipse/jgit/internal/storage/pack/PackWriterBitmapWalker.java