Refactor SHA1 computation
commit12ea48445625a4b71063af5584a9219efcd310de
authorRobin Rosenberg <robin.rosenberg@dewire.com>
Wed, 9 May 2007 22:51:33 +0000 (10 00:51 +0200)
committerRobin Rosenberg <robin.rosenberg@dewire.com>
Sun, 10 Jun 2007 19:36:19 +0000 (10 21:36 +0200)
tree5066b9c4510d453f51f90ffbeef53ca9120b6be5
parent8ef83485e5a302f1e6f745c92174819a60417386
Refactor SHA1 computation

We need this for the index implementation. Most importantly I
want to be able to compute the SHA-1 without storing an object.

Signed-off-by: Robin Rosenberg <robin.rosenberg@dewire.com>
org.spearce.jgit/src/org/spearce/jgit/lib/ObjectWriter.java
org.spearce.jgit/tst/org/spearce/jgit/lib/T0003_Basic.java