summaryrefslogtreecommitdiff
path: root/Locations.hs
diff options
context:
space:
mode:
authorGravatar Joey Hess <joey@kitenet.net>2013-01-06 14:29:01 -0400
committerGravatar Joey Hess <joey@kitenet.net>2013-01-06 14:29:01 -0400
commita6cd089cea9b2e6d12461f02ca7fbef9b12d403c (patch)
tree5a6ed63807b8b012f42f8f8f2ab6da5e5883d342 /Locations.hs
parent3bac971ac22afd706d7ad52013c86a7dae80c684 (diff)
Fix transferring files to special remotes in direct mode.
Diffstat (limited to 'Locations.hs')
-rw-r--r--Locations.hs3
1 files changed, 3 insertions, 0 deletions
diff --git a/Locations.hs b/Locations.hs
index ce867fac5..9713a8ec2 100644
--- a/Locations.hs
+++ b/Locations.hs
@@ -93,6 +93,9 @@ annexLocation key hasher = objectDir </> keyPath key hasher
-
- When the file is not present, returns the location where the file should
- be stored.
+ -
+ - This does not take direct mode into account, so in direct mode it is not
+ - the actual location of the file's content.
-}
gitAnnexLocation :: Key -> Git.Repo -> IO FilePath
gitAnnexLocation key r