diff options
author | 2011-04-25 13:36:39 -0400 | |
---|---|---|
committer | 2011-04-25 13:36:39 -0400 | |
commit | e433c6f0bb2ee5f03217b85e3b677b961f5d391a (patch) | |
tree | 162d625dd8a0e8bfc4d09899766e33c12aa2e5f0 /Content.hs | |
parent | b0b413c69f76bcfa46d01ff1623027707483c63c (diff) |
generalized relPathDirTo functions
Diffstat (limited to 'Content.hs')
-rw-r--r-- | Content.hs | 2 |
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. |