inheritable annex.securehashesonly
authorJoey Hess <joeyh@joeyh.name>
Mon, 27 Feb 2017 20:08:16 +0000 (16:08 -0400)
committerJoey Hess <joeyh@joeyh.name>
Mon, 27 Feb 2017 20:08:23 +0000 (16:08 -0400)
commite53070c1ff7ad71018084d88894fa5737ae901da
tree3d1182be3a6bef1dec97d5c10879f45a48b7d5bb
parent6e0e7d885cf23521a3dcd8971d02bca277b336a2
inheritable annex.securehashesonly

* init: When annex.securehashesonly has been set with git-annex config,
  copy that value to the annex.securehashesonly git config.
* config --set: As well as setting value in git-annex branch,
  set local gitconfig. This is needed especially for
  annex.securehashesonly, which is read only from local gitconfig and not
  the git-annex branch.

doc/todo/sha1_collision_embedding_in_git-annex_keys.mdwn has the
rationalle for doing it this way. There's no perfect solution; this
seems to be the least-bad one.

This commit was supported by the NSF-funded DataLad project.
Annex/Init.hs
CHANGELOG
Command/Config.hs
doc/git-annex-config.mdwn
doc/git-annex.mdwn
doc/tips/using_signed_git_commits.mdwn
doc/todo/sha1_collision_embedding_in_git-annex_keys.mdwn