use DIRHASH-LOWER for consistency

This commit is contained in:
Joey Hess 2016-05-03 14:10:11 -04:00
parent 6ada288325
commit 3b7713b493
Failed to extract signature
4 changed files with 10 additions and 3 deletions

View file

@ -199,7 +199,7 @@ instance Proto.Receivable RemoteRequest where
parseCommand "VERSION" = Proto.parse1 VERSION
parseCommand "PROGRESS" = Proto.parse1 PROGRESS
parseCommand "DIRHASH" = Proto.parse1 DIRHASH
parseCommand "DIRHASH_LOWER" = Proto.parse1 DIRHASH_LOWER
parseCommand "DIRHASH-LOWER" = Proto.parse1 DIRHASH_LOWER
parseCommand "SETCONFIG" = Proto.parse2 SETCONFIG
parseCommand "GETCONFIG" = Proto.parse1 GETCONFIG
parseCommand "SETCREDS" = Proto.parse3 SETCREDS

2
debian/changelog vendored
View file

@ -8,7 +8,7 @@ git-annex (6.20160420) UNRELEASED; urgency=medium
again later.
* Android: Icon refresh.
Thanks, freewheelinfranks.
* Added DIRHASH_LOWER to external special remote protocol.
* Added DIRHASH-LOWER to external special remote protocol.
-- Joey Hess <id@joeyh.name> Thu, 28 Apr 2016 13:17:04 -0400

View file

@ -233,7 +233,7 @@ in control.
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`
* `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,

View file

@ -0,0 +1,7 @@
[[!comment format=mdwn
username="joey"
subject="""comment 28"""
date="2016-05-03T18:09:50Z"
content="""
Agreed, DIRHASH-LOWER is more consistent, changed it to that.
"""]]