Default IndexPack to honor pack.indexversion configuration
commitf58f28a55abbdb802de0a5dfc0a04427fc162f7a
authorShawn O. Pearce <spearce@spearce.org>
Tue, 24 Jun 2008 02:10:08 +0000 (23 22:10 -0400)
committerRobin Rosenberg <robin.rosenberg@dewire.com>
Mon, 30 Jun 2008 05:37:41 +0000 (30 07:37 +0200)
treefb45b80e85eca51f4615ad021bd4b6d12ed28f71
parent8cc7f9fea50b105640ff07e4150e0d4752fdf7f3
Default IndexPack to honor pack.indexversion configuration

Users may already desire to create only v2 pack index files, as
the extra CRC code makes repacking faster due to quicker delta
reuse code paths being available.  However we still must default
to version 0 to select oldest version available to improve our
changes of being compatible with really old Git executables.

Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
Signed-off-by: Robin Rosenberg <robin.rosenberg@dewire.com>
org.spearce.jgit/src/org/spearce/jgit/lib/CoreConfig.java
org.spearce.jgit/src/org/spearce/jgit/transport/IndexPack.java