Move PackFile.SIGNATURE to Constants.PACK_SIGNATURE
commit840a79d247a762f427fe99578cddf4f996cef988
authorMarek Zawirski <marek.zawirski@gmail.com>
Mon, 2 Jun 2008 07:00:44 +0000 (2 09:00 +0200)
committerMarek Zawirski <marek.zawirski@gmail.com>
Fri, 6 Jun 2008 22:18:23 +0000 (7 00:18 +0200)
tree4b3304a531b143854a10c752b3e17bf67a169c83
parentb0b7482d8f3a962ca6e0d23a8ab79728846da89f
Move PackFile.SIGNATURE to Constants.PACK_SIGNATURE

Move to avoid redundancy in reading and writing packfiles in 3 places.
It seems to be a better place for format-related constant.

Signed-off-by: Marek Zawirski <marek.zawirski@gmail.com>
org.spearce.jgit/src/org/spearce/jgit/lib/Constants.java
org.spearce.jgit/src/org/spearce/jgit/lib/PackFile.java
org.spearce.jgit/src/org/spearce/jgit/transport/IndexPack.java