]> source.dussan.org Git - jgit.git/commit
Refactor ObjectToPack's delta depth setting 07/1107/1
authorShawn O. Pearce <spearce@spearce.org>
Fri, 9 Jul 2010 14:59:30 +0000 (07:59 -0700)
committerShawn O. Pearce <spearce@spearce.org>
Sat, 10 Jul 2010 02:04:35 +0000 (19:04 -0700)
commit85b7a53d52c3f2bfb113cc665bd7893504cd4e50
treec6a82bccc87651ce12e1ac446b387aaeecfefd32
parent6730f9e3c830d997d1731bf36414e626bda42ad8
Refactor ObjectToPack's delta depth setting

Long ago when PackWriter is first written we thought that the delta
depth could be updated automatically.  But its never used.  Instead
make this a simple standard setter so the caller can more directly
set the delta depth of this object.  This permits us to configure a
depth that takes into account more than just the depth of another
object in this same pack.

Change-Id: I1d71b74f2edd7029b8743a2c13b591098ce8cc8f
Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
org.eclipse.jgit/src/org/eclipse/jgit/storage/pack/ObjectToPack.java