Don't throw Error wrapping IOException from packed-refs read
commit5203bde06402f74ee1dfadfc0fc4483a7a826c44
authorShawn O. Pearce <spearce@spearce.org>
Thu, 15 May 2008 03:55:14 +0000 (14 23:55 -0400)
committerShawn O. Pearce <spearce@spearce.org>
Sat, 17 May 2008 03:59:50 +0000 (16 23:59 -0400)
treeca8d4df5095ca39b28e8eb3c2e6af192951219e4
parentb7185d2b96e3134a75747c9d392d9980c38b6bb8
Don't throw Error wrapping IOException from packed-refs read

Errors are really bad and most application code does not attempt
to catch them, as usually you cannot reasonably recover.  Rather
we should at least use a type of Exception.

Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
org.spearce.jgit/src/org/spearce/jgit/lib/Repository.java