summaryrefslogtreecommitdiff
path: root/doc/design/external_special_remote_protocol.mdwn
diff options
context:
space:
mode:
authorGravatar Joey Hess <joeyh@joeyh.name>2016-05-03 13:36:59 -0400
committerGravatar Joey Hess <joeyh@joeyh.name>2016-05-03 13:36:59 -0400
commit634699480da03954e855540caba1e0a12d458a19 (patch)
tree1c1879e4bbb20478cec5ac13ac6074e4c5def52f /doc/design/external_special_remote_protocol.mdwn
parent215b9ad6b887dcd16720136768a3080afd576687 (diff)
Added DIRHASH_LOWER to external special remote protocol.
Diffstat (limited to 'doc/design/external_special_remote_protocol.mdwn')
-rw-r--r--doc/design/external_special_remote_protocol.mdwn10
1 files changed, 9 insertions, 1 deletions
diff --git a/doc/design/external_special_remote_protocol.mdwn b/doc/design/external_special_remote_protocol.mdwn
index f9eca2af0..cbe8504ed 100644
--- a/doc/design/external_special_remote_protocol.mdwn
+++ b/doc/design/external_special_remote_protocol.mdwn
@@ -230,7 +230,15 @@ in control.
* `DIRHASH Key`
Gets a two level hash associated with a Key. Something like "aB/Cd".
This is always the same for any given Key, so can be used for eg,
- creating hash directory structures to store Keys in.
+ creating hash directory structures to store Keys in. This is the same
+ directory hash that git-annex uses inside `.git/annex/objects/`
+ (git-annex replies with VALUE followed by the value.)
+* `DIRHASH_LOWER Key`
+ Gets a two level hash associated with a Key, using only lower-case.
+ Something like "abc/def".
+ This is always the same for any given Key, so can be used for eg,
+ creating hash directory structures to store Keys in. This is the same
+ directory hash that is used by eg, the directory special remote.
(git-annex replies with VALUE followed by the value.)
* `SETCONFIG Setting Value`
Sets one of the special remote's configuration settings.