When shaNsum commands cannot be found, use the Haskell SHA library (already a dependency) to do the checksumming. This may be slower, but avoids portability problems.

Using Crypto's version of the hashes would be another option.
I need to benchmark it. The SHA2 library (which provides SHA1 also,
confusing name) may be the fastest option, but is not currently in Debian.
This commit is contained in:
Joey Hess 2012-07-04 09:08:20 -04:00
parent 597d16ed9c
commit 1da79ea61f
3 changed files with 42 additions and 35 deletions

3
debian/changelog vendored
View file

@ -4,6 +4,9 @@ git-annex (3.20120630) UNRELEASED; urgency=low
transfer is already in progress by another process.
* status: Lists transfers that are currently in progress.
* Fix passing --uuid to git-annex-shell.
* When shaNsum commands cannot be found, use the Haskell SHA library
(already a dependency) to do the checksumming. This may be slower,
but avoids portability problems.
-- Joey Hess <joeyh@debian.org> Sun, 01 Jul 2012 15:04:37 -0400