summaryrefslogtreecommitdiff
path: root/Content.hs
diff options
context:
space:
mode:
Diffstat (limited to 'Content.hs')
-rw-r--r--Content.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/Content.hs b/Content.hs
index f63c02311..576eecb31 100644
--- a/Content.hs
+++ b/Content.hs
@@ -58,7 +58,7 @@ calcGitLink file key = do
let absfile = case absNormPath cwd file of
Just f -> f
Nothing -> error $ "unable to normalize " ++ file
- return $ relPathDirToDir (parentDir absfile)
+ return $ relPathDirToFile (parentDir absfile)
(Git.workTree g) </> ".git" </> annexLocation key
{- Updates the LocationLog when a key's presence changes.