summaryrefslogtreecommitdiff
path: root/doc/internals/hashing.mdwn
diff options
context:
space:
mode:
authorGravatar Joey Hess <joey@kitenet.net>2013-12-15 14:46:29 -0400
committerGravatar Joey Hess <joey@kitenet.net>2013-12-15 14:52:09 -0400
commit0ca7ec1752419b9245373f5063c7c86e52ef2e9a (patch)
treed368bc5367f5549c75ddbed0bf10407ce66e41f5 /doc/internals/hashing.mdwn
parent3d1b94998a0aff3d08cf8648ae977614412e8138 (diff)
Add plumbing-level lookupkey examinekey command.
find --format: Added hashdirlower, hashdirmixed, keyname, and mtime format variables.
Diffstat (limited to 'doc/internals/hashing.mdwn')
-rw-r--r--doc/internals/hashing.mdwn16
1 files changed, 12 insertions, 4 deletions
diff --git a/doc/internals/hashing.mdwn b/doc/internals/hashing.mdwn
index f479cfc47..cc4bc6456 100644
--- a/doc/internals/hashing.mdwn
+++ b/doc/internals/hashing.mdwn
@@ -2,10 +2,18 @@ In both the .git/annex directory and the git-annex branch, two levels of
hash directories are used, to avoid issues with too many files in one
directory.
-Two separate hash methods are used. One, the old hash format, is only used
-for non-bare git repositories. The other, the new hash format, is used for
-bare git repositories, the git-annex branch, and on special remotes as
-well.
+Two separate hash methods are used.
+
+* hashdirmixed is only used for non-bare git repositories.
+ (We'd like to stop using this, but it'd be too annoying to change
+ all the git-annex symlinks!)
+
+* hashdirlower is used for bare git repositories, the
+ git-annex branch, and on special remotes as well.
+
+Note that `git annex find` and `git annex examinekey` can be used with
+the `--format` option to find the hash directories. The explanation
+below is only for completeness.
## new hash format