New annex.synccontent config setting
authorJoey Hess <joeyh@joeyh.name>
Fri, 3 Feb 2017 18:31:17 +0000 (14:31 -0400)
committerJoey Hess <joeyh@joeyh.name>
Fri, 3 Feb 2017 18:31:17 +0000 (14:31 -0400)
commitb77903af48e650dbb777f29e98d0c7b388353ebd
treea1f66cb548dc798d068a609723321f711cfddfae
parented56dba86827b83d299cf1847060640e3650fa28
New annex.synccontent config setting

.. which can be set to true to make git annex sync default to --content.

This may become the default at some point in the future.

As well as being configuable by git config, it can be configured by
git-annex config to control the default behavior in all clones of a
repository.

Had to add a separate --no-content switch to we can tell if it's been
explicitly set, and should override annex.synccontent. If --content was the
default, this complication would not be necessary.

This commit was sponsored by Jake Vosloo on Patreon.
CHANGELOG
Command/Sync.hs
Types/GitConfig.hs
doc/git-annex-config.mdwn
doc/git-annex-sync.mdwn
doc/git-annex.mdwn