aboutsummaryrefslogtreecommitdiff
path: root/doc/git-annex.mdwn
diff options
context:
space:
mode:
authorGravatar Joey Hess <joey@kitenet.net>2012-09-12 13:22:16 -0400
committerGravatar Joey Hess <joey@kitenet.net>2012-09-12 13:22:16 -0400
commit3724344461d50a606419bd483a5513c0a139f43e (patch)
treec4193ef1d3715761a3b6ede1abe5f32a952923ff /doc/git-annex.mdwn
parent6e08bf96336a6beee233e0dfa60728e3f6983334 (diff)
SHA256E is new default backend
The default backend used when adding files to the annex is changed from SHA256 to SHA256E, to simplify interoperability with OSX, media players, and various programs that needlessly look at symlink targets. To get old behavior, add a .gitattributes containing: * annex.backend=SHA256
Diffstat (limited to 'doc/git-annex.mdwn')
-rw-r--r--doc/git-annex.mdwn4
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/git-annex.mdwn b/doc/git-annex.mdwn
index 48e4f24ea..e2c881dfb 100644
--- a/doc/git-annex.mdwn
+++ b/doc/git-annex.mdwn
@@ -801,10 +801,10 @@ The key-value backend used when adding a new file to the annex can be
configured on a per-file-type basis via `.gitattributes` files. In the file,
the `annex.backend` attribute can be set to the name of the backend to
use. For example, this here's how to use the WORM backend by default,
-but the SHA1 backend for ogg files:
+but the SHA256E backend for ogg files:
* annex.backend=WORM
- *.ogg annex.backend=SHA1
+ *.ogg annex.backend=SHA256E
The numcopies setting can also be configured on a per-file-type basis via
the `annex.numcopies` attribute in `.gitattributes` files.