git-annex/doc
Joey Hess 4acbb40112
git-annex config annex.largefiles
annex.largefiles can be configured by git-annex config, to more easily set
a default that will also be used by clones, without needing to shoehorn the
expression into the gitattributes file. The git config and gitattributes
override that.

Whenever something is added to git-annex config, we have to consider what
happens if a user puts a purposfully bad value in there. Or, if a new
git-annex adds some new value that an old git-annex can't parse.
In this case, a global annex.largefiles that can't be parsed currently
makes an error be thrown. That might not be ideal, but the gitattribute
behaves the same, and is almost equally repo-global.

Performance notes:

git-annex add and addurl construct a matcher once
and uses it for every file, so the added time penalty for reading the global
config log is minor. If the gitattributes annex.largefiles were deprecated,
git-annex add would get around 2% faster (excluding hashing), because
looking that up for each file is not fast. So this new way of setting
it is progress toward speeding up add.

git-annex smudge does need to load the log every time. As well as checking
the git attribute. Not ideal. Setting annex.gitaddtoannex=false avoids
both overheads.
2019-12-20 13:01:41 -04:00
..
Android
android
assistant response 2019-09-16 13:52:36 -04:00
automatic_conflict_resolution
backends
bare_repositories
bugs Merge branch 'master' of ssh://git-annex.branchable.com 2019-12-18 13:48:48 -04:00
chunking Added a comment: buffering chunks in memory when uploading to remote 2019-09-04 19:50:42 +00:00
coding_style
contribute
copies
design some improvements to docs 2019-11-11 12:52:45 -04:00
devblog devblog 2019-12-18 17:11:37 -04:00
direct_mode
download
encryption
footer
forum removed 2019-11-20 20:11:17 +00:00
future_proofing
git-annex-add removed 2019-11-26 23:28:35 +00:00
git-annex-addurl
git-annex-adjust
git-annex-checkpresentkey
git-annex-config
git-annex-copy
git-annex-direct
git-annex-drop
git-annex-enableremote
git-annex-find
git-annex-importfeed
git-annex-lookupkey
git-annex-metadata Added a comment 2019-09-24 14:49:21 +00:00
git-annex-move
git-annex-p2p Added a comment: --link accepts itself 2019-10-10 05:28:53 +00:00
git-annex-preferred-content
git-annex-reinject
git-annex-rmurl
git-annex-setpresentkey
git-annex-sync
git-annex-test
git-annex-unannex
git-annex-undo
git-annex-uninit
git-annex-unlock response 2019-09-30 13:36:11 -04:00
git-annex-unused Added a comment 2019-12-02 16:58:25 +00:00
git-annex-whereis
how_it_works
install fixed 2019-12-18 14:29:23 -04:00
internals Added a comment: Key character set 2019-12-10 10:27:58 +00:00
license
links
metadata
news add news item for git-annex 7.20191218 2019-12-18 14:17:15 -04:00
not
polls
preferred_content
profiling wrap up 2019-12-18 15:19:19 -04:00
projects added <details> to fold done/fixed things 2019-11-04 17:56:46 +00:00
required_content
scalability
security Added a comment: Another use case -- http_proxy 2019-11-12 17:51:25 +00:00
special_remotes update docs 2019-11-18 13:12:46 -04:00
stickers
sync
templates
testimonials
thanks update 2019-12-05 12:28:42 -04:00
tips git-annex config annex.largefiles 2019-12-20 13:01:41 -04:00
todo thought 2019-12-19 16:44:08 -04:00
trust
tuning
upgrades
use_case
users Added a listing statement for pages which should be tagged 2019-09-22 00:32:41 +00:00
videos
walkthrough
workflow Added a comment: why not git-annex-sync 2019-09-26 17:47:55 +00:00
Android.mdwn
assistant.mdwn
automatic_conflict_resolution.mdwn
backends.mdwn added a hyperlink to key_format 2019-11-30 17:00:58 +00:00
bare_repositories.mdwn
bugs.mdwn
builds.mdwn
chunking.mdwn
coding_style.mdwn
comments.mdwn
contact.mdwn
contribute.mdwn
copies.mdwn
design.mdwn
devblog.mdwn
direct_mode.mdwn
distributed_version_control.mdwn
download.mdwn
encryption.mdwn
favicon.ico
forum.mdwn
future_proofing.mdwn
git-annex-add.mdwn v7 for all repositories 2019-08-30 14:09:14 -04:00
git-annex-addunused.mdwn
git-annex-addurl.mdwn mention special remotes 2019-11-11 13:15:01 -04:00
git-annex-adjust.mdwn adjust --lock: This enters an adjusted branch where files are locked. 2019-09-27 14:23:25 -04:00
git-annex-assistant.mdwn
git-annex-benchmark.mdwn improve hints about squelching output 2019-11-22 17:26:13 -04:00
git-annex-calckey.mdwn
git-annex-checkpresentkey.mdwn
git-annex-config.mdwn git-annex config annex.largefiles 2019-12-20 13:01:41 -04:00
git-annex-contentlocation.mdwn
git-annex-copy.mdwn fix typo 2019-09-18 13:11:53 -04:00
git-annex-dead.mdwn
git-annex-describe.mdwn
git-annex-diffdriver.mdwn
git-annex-direct.mdwn
git-annex-drop.mdwn
git-annex-dropkey.mdwn
git-annex-dropunused.mdwn
git-annex-edit.mdwn
git-annex-enable-tor.mdwn
git-annex-enableremote.mdwn
git-annex-examinekey.mdwn
git-annex-expire.mdwn
git-annex-export.mdwn
git-annex-find.mdwn
git-annex-findref.mdwn
git-annex-fix.mdwn
git-annex-forget.mdwn
git-annex-fromkey.mdwn
git-annex-fsck.mdwn
git-annex-fuzztest.mdwn
git-annex-get.mdwn
git-annex-group.mdwn
git-annex-groupwanted.mdwn
git-annex-import.mdwn encourage use of import from directory special remote rather than legacy interface 2019-11-19 13:30:27 -04:00
git-annex-importfeed.mdwn
git-annex-indirect.mdwn
git-annex-info.mdwn
git-annex-init.mdwn
git-annex-initremote.mdwn fix sameas inherited key removal 2019-10-11 13:18:27 -04:00
git-annex-inprogress.mdwn inprogress: Support --key 2019-12-18 14:14:16 -04:00
git-annex-list.mdwn
git-annex-lock.mdwn
git-annex-log.mdwn
git-annex-lookupkey.mdwn
git-annex-map.mdwn
git-annex-matchexpression.mdwn
git-annex-matching-options.mdwn added --unlocked and --locked 2019-09-19 12:33:13 -04:00
git-annex-merge.mdwn
git-annex-metadata.mdwn
git-annex-migrate.mdwn
git-annex-mirror.mdwn
git-annex-move.mdwn
git-annex-multicast.mdwn
git-annex-numcopies.mdwn
git-annex-p2p.mdwn
git-annex-post-receive.mdwn post-receive hook updateInstead emulation cleanup 2019-09-11 14:41:51 -04:00
git-annex-pre-commit.mdwn v7 for all repositories 2019-08-30 14:09:14 -04:00
git-annex-preferred-content.mdwn
git-annex-proxy.mdwn
git-annex-readpresentkey.mdwn
git-annex-registerurl.mdwn
git-annex-reinit.mdwn
git-annex-reinject.mdwn
git-annex-rekey.mdwn
git-annex-remotedaemon.mdwn remotedaemon: Don't list --stop in help since it's not supported. 2019-09-30 14:40:46 -04:00
git-annex-renameremote.mdwn get rid of hardcoded "name" lookups 2019-10-10 13:25:10 -04:00
git-annex-repair.mdwn
git-annex-required.mdwn
git-annex-resolvemerge.mdwn
git-annex-rmurl.mdwn
git-annex-schedule.mdwn
git-annex-semitrust.mdwn
git-annex-setkey.mdwn
git-annex-setpresentkey.mdwn
git-annex-shell.mdwn
git-annex-smudge.mdwn documentation for making git add only annex when configured by annex.largefiles 2019-10-24 14:01:54 -04:00
git-annex-status.mdwn
git-annex-sync.mdwn
git-annex-test.mdwn
git-annex-testremote.mdwn
git-annex-transferkey.mdwn
git-annex-transferkeys.mdwn
git-annex-trust.mdwn
git-annex-unannex.mdwn
git-annex-undo.mdwn
git-annex-ungroup.mdwn
git-annex-uninit.mdwn
git-annex-unlock.mdwn improve docs for v7 unlock 2019-09-12 13:58:12 -04:00
git-annex-untrust.mdwn
git-annex-unused.mdwn
git-annex-upgrade.mdwn Added annex.autoupgraderepository configuration 2019-09-01 13:42:26 -04:00
git-annex-vadd.mdwn
git-annex-vcycle.mdwn
git-annex-version.mdwn
git-annex-vfilter.mdwn
git-annex-vicfg.mdwn
git-annex-view.mdwn
git-annex-vpop.mdwn
git-annex-wanted.mdwn
git-annex-watch.mdwn
git-annex-webapp.mdwn
git-annex-whereis.mdwn
git-annex.mdwn git-annex config annex.largefiles 2019-12-20 13:01:41 -04:00
git-remote-tor-annex.mdwn
git-union-merge.mdwn
how_it_works.mdwn
index.mdwn Revert malicious removal of index page 2019-11-19 12:36:48 -04:00
install.mdwn docs for git-annex-standalone rpm 2019-09-13 12:18:36 -04:00
internals.mdwn add RemoteStateHandle 2019-10-14 13:51:42 -04:00
license.mdwn
location_tracking.mdwn
logo-old-bw.svg
logo-old.png
logo-old.svg
logo-old_small.png
logo.mdwn
logo.svg
logo_16x16.png
logo_32x32.png
logo_small.png
meta.mdwn
metadata.mdwn
news.mdwn
not.mdwn
polls.mdwn
preferred_content.mdwn
privacy.mdwn
profiling.mdwn
projects.mdwn add projects page, move datalad there 2019-09-19 10:47:12 -04:00
publicrepos.mdwn
related_software.mdwn
repomap.png
required_content.mdwn
scalability.mdwn
security.mdwn
shortcuts.mdwn
sidebar.mdwn
sitemap.mdwn
special_remotes.mdwn finally document initremote type=git 2019-10-04 11:22:46 -04:00
stickers.mdwn
submodules.mdwn
summary.mdwn
sync.mdwn
testimonials.mdwn
thanks.mdwn
tips.mdwn
todo.mdwn
transferring_data.mdwn
trust.mdwn
tuning.mdwn
upgrades.mdwn documentation for making git add only annex when configured by annex.largefiles 2019-10-24 14:01:54 -04:00
users.mdwn
videos.mdwn
Void.mdwn
walkthrough.mdwn
workflow.mdwn