]> source.dussan.org Git - jgit.git/commit
Correct ObjectWalk error message when bad object is found 57/257/1
authorShawn O. Pearce <spearce@spearce.org>
Tue, 2 Feb 2010 18:49:32 +0000 (10:49 -0800)
committerShawn O. Pearce <spearce@spearce.org>
Tue, 2 Feb 2010 18:49:36 +0000 (10:49 -0800)
commit986d616ed4f1fc4cfcf3fbc4d5ad4569030b748a
tree5e056170558fb264bd2725446e294592e2096d40
parent784b24dde151a967229c2f8c2f08b0827709bd4d
Correct ObjectWalk error message when bad object is found

Instead of including "ObjectId[SHA-1]" in the message, just
us the formatted SHA-1 name of the object by calling name().

Change-Id: I0d1d0e8207f8a3f02188e60242e4e9bf7420e88f
Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
org.eclipse.jgit/src/org/eclipse/jgit/revwalk/ObjectWalk.java