summaryrefslogtreecommitdiff
path: root/Common/Annex.hs
diff options
context:
space:
mode:
authorGravatar Joey Hess <joey@kitenet.net>2013-04-04 15:46:33 -0400
committerGravatar Joey Hess <joey@kitenet.net>2013-04-04 15:46:33 -0400
commita7cc06b30d3ae8a9801a68729db23dd66f8dadf6 (patch)
treeb500f785b37815cf82d82da299881e07931ab27c /Common/Annex.hs
parent307212395c912ab268109521ceae1bf192f728d8 (diff)
Use lower case hash directories for storing files on crippled filesystems, same as is already done for bare repositories.
* since this is a crippled filesystem anyway, git-annex doesn't use symlinks on it * so there's no reason to use the mixed case hash directories that we're stuck using to avoid breaking everyone's symlinks to the content * so we can do what is already done for all bare repos, and make non-bare repos on crippled filesystems use the all-lower case hash directories * which are, happily, all 3 letters long, so they cannot conflict with mixed case hash directories * so I was able to 100% fix this and even resuming `git annex add` in the test case will recover and it will all just work.
Diffstat (limited to 'Common/Annex.hs')
-rw-r--r--Common/Annex.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/Common/Annex.hs b/Common/Annex.hs
index e90825f0e..3b8bcdbdd 100644
--- a/Common/Annex.hs
+++ b/Common/Annex.hs
@@ -3,6 +3,6 @@ module Common.Annex (module X) where
import Common as X
import Types as X
import Types.UUID as X (toUUID, fromUUID)
-import Annex as X (gitRepo, inRepo, fromRepo)
+import Annex as X (gitRepo, inRepo, fromRepo, calcRepo)
import Locations as X
import Messages as X