summaryrefslogtreecommitdiff
path: root/doc/walkthrough/using_the_SHA1_backend.mdwn
blob: c04729e2cdb12c4c29387a529bc8f76a9225f105 (plain)
1
2
3
4
5
6
7
8
9
10
11
Another handy alternative to the default [[backend|backends]] is the
SHA1 backend. This backend provides more git-style assurance that your data
has not been damaged. And the checksum means that when you add the same
content to the annex twice, only one copy need be stored in the backend.

The only reason it's not the default is that it needs to checksum
files when they're added to the annex, and this can slow things down
significantly for really big files. To make SHA1 the default, just
add something like this to `.gitattributes`:

	* annex.backend=SHA1