Hash packed objects without creating ShaFiles.
authorDave Borowitz <dborowitz@google.com>
Fri, 19 Mar 2010 02:46:25 +0000 (19:46 -0700)
committerDave Borowitz <dborowitz@google.com>
Thu, 22 Apr 2010 21:35:45 +0000 (14:35 -0700)
commit746e769d1d0a30926a5155753d31f002e7035f8a
tree1f5c1400e9d0e80dcb71d8c3ad2960702d71dc48
parent36a682557f0bf203448b888a0c4d67268a423d0a
Hash packed objects without creating ShaFiles.

Recent changes to ShaFile result in parsing files when created from
strings. Since the packed object code was just using ShaFile for
computing a SHA, this change elminates that and hashes file contents
directly.

Change-Id: I70a14104fa896c248189f0839c24d02c48a43c4d
dulwich/objects.py
dulwich/pack.py