summaryrefslogtreecommitdiff
path: root/Content.hs
diff options
context:
space:
mode:
Diffstat (limited to 'Content.hs')
-rw-r--r--Content.hs4
1 files changed, 2 insertions, 2 deletions
diff --git a/Content.hs b/Content.hs
index cb954f4a0..658d9a861 100644
--- a/Content.hs
+++ b/Content.hs
@@ -51,8 +51,8 @@ calcGitLink file key = do
let absfile = case absNormPath cwd file of
Just f -> f
Nothing -> error $ "unable to normalize " ++ filePathToString file
- return $ relPathDirToDir (parentDir absfile) (Git.workTree g) ++
- annexLocation key
+ return $ relPathDirToDir (parentDir absfile)
+ (Git.workTree g) </> ".git" </> annexLocation key
{- Updates the LocationLog when a key's presence changes. -}
logStatus :: Key -> LogStatus -> Annex ()