Rename readPackHeader() to be onOpenPack()
commitbba2664a778bc3ae716b19d698ff0c6fc74d45fe
authorShawn O. Pearce <spearce@spearce.org>
Thu, 12 Feb 2009 02:36:56 +0000 (11 18:36 -0800)
committerRobin Rosenberg <robin.rosenberg@dewire.com>
Wed, 18 Feb 2009 21:22:39 +0000 (18 22:22 +0100)
tree8393e811d8f05dcda507c68aa4885dfbf8f93057
parent94b9333662e46a3f566c32203fc33a369368b4a7
Rename readPackHeader() to be onOpenPack()

Its just a better name of the function.  Any logic we might try
to perform to validate the pack file as we open it up to read
should be here, and that logic may eventually include validation
of the footer checksum against the index's footer data.

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/PackFile.java