]> source.dussan.org Git - jgit.git/commit
Skip first pack if avoid garbage is set and it is a garbage pack 89/90989/5
authorZhen Chen <czhen@google.com>
Mon, 13 Feb 2017 20:36:25 +0000 (12:36 -0800)
committerZhen Chen <czhen@google.com>
Tue, 14 Feb 2017 00:54:35 +0000 (20:54 -0400)
commitff852dad518b99edc31e88cbe8c8f45ba207c6a5
tree4238bc27e70869ef8c9a55db3d1325f43e27387e
parent8dd5b644dc8811ae3ba39fcfbb8babca31a1abe1
Skip first pack if avoid garbage is set and it is a garbage pack

At beginning of the OBJECT_SCAN loop, it will first check if the object
exists in the last pack, however, it forgot to avoid garbage pack for
the first iteration.

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