aboutsummaryrefslogtreecommitdiff
path: root/doc/tuning.mdwn
diff options
context:
space:
mode:
authorGravatar Joey Hess <joeyh@joeyh.name>2015-01-28 13:47:41 -0400
committerGravatar Joey Hess <joeyh@joeyh.name>2015-01-28 13:50:02 -0400
commitf351b887265f0abce8d52ffcb7b9b2ee7bd8bc81 (patch)
treec7cb719e91b82bee7f4ea8e74732dd3f3d4dc103 /doc/tuning.mdwn
parent6a8efb186432cd9b8fa7a61f8129303f5bcc9e1f (diff)
rework Differences data type
Eliminated complexity and future proofed. The most important change is that all functions over Difference are now total; any Difference that can be expressed should be handled. Avoids needs for sanity checking of inputs, and version skew with the future. Also, the difference.log now serializes a [Difference], not a Differences. This saves space and keeps it simpler. Note that [Difference] might contain conflicting differences (eg, [Version5, Version6]. In this case, one of them needs to consistently win over the others, probably based on Ord.
Diffstat (limited to 'doc/tuning.mdwn')
-rw-r--r--doc/tuning.mdwn20
1 files changed, 11 insertions, 9 deletions
diff --git a/doc/tuning.mdwn b/doc/tuning.mdwn
index 761071b6b..cbe0eca64 100644
--- a/doc/tuning.mdwn
+++ b/doc/tuning.mdwn
@@ -12,7 +12,7 @@ done by passing `-c name=value` parameters to `git annex init`.
For example, this will make git-annex use only 1 level for hash directories
in `.git/annex/objects`:
- git -c annex.tune.objecthashdirectories=1 annex init
+ git -c annex.tune.objecthash1=true annex init
It's very important to keep in mind that this makes a nonstandard format
git-annex repository. In general, this cannot safely be used with
@@ -29,16 +29,18 @@ Again, tuned repositories are an experimental feature; use with caution!
The following tuning parameters are available:
-* `annex.tune.objecthashdirectories` (default: 2)
- Sets the number of hash directories to use in `.git/annex/objects/`
+* `annex.tune.objecthash1=true`
+ Use just one level of hash directories in `.git/annex/objects/`,
+ instead of the default two levels.
-* `annex.tune.objecthashlower` (default: false)
- Set to true to make the hash directories in `.git/annex/objects/` use
- all lower-case.
+* `annex.tune.objecthashlower=true`
+ Make the hash directories in `.git/annex/objects/` use
+ all lower-case, instead of the default mixed-case.
-* `annex.tune.branchhashdirectories` (default: 2)
- Sets the number of hash directories to use in the git-annex branch.
+* `annex.tune.branchhash1=true`
+ Use just one level of hash directories in the git-annex branch,
+ instead of the default two levels.
Note that git-annex will automatically propigate these setting to
-`.git/config` for tuned repsitories. You should never directly change
+`.git/config` for tuned repositories. You should never directly change
these settings in `.git/config`