diff options
author | Zhen Chen <czhen@google.com> | 2017-10-04 14:02:24 -0700 |
---|---|---|
committer | Zhen Chen <czhen@google.com> | 2017-10-05 17:16:13 -0700 |
commit | 65f9046547768187de89c3c8f1fdb243314675d8 (patch) | |
tree | 475eda74f636235e669d1f20856e8d97301be684 /org.eclipse.jgit.junit | |
parent | a2ec6ccf0ae2113f699c10e0b46a72b94a8202a6 (diff) | |
download | jgit-65f9046547768187de89c3c8f1fdb243314675d8.tar.gz jgit-65f9046547768187de89c3c8f1fdb243314675d8.zip |
Use a new RevWalk for validating not advertised wants
Shadow commits in the RevWalk in the UploadPack object may cause the
UNINTERESTING flag not being carried over to their parents commits since
they were marked NO_PARENTS during the assumeShallow or
initializeShallowCommits call.
A new RevWalk needs to be created for this reason, but instead of
creating a new RevWalk from Repository, we can reuse the ObjectReader in
the RevWalk of UploadPack to load objects.
Change-Id: Ic3fee0512d35b4f555c60e696a880f8b192e4439
Signed-off-by: Zhen Chen <czhen@google.com>
Diffstat (limited to 'org.eclipse.jgit.junit')
0 files changed, 0 insertions, 0 deletions