summaryrefslogtreecommitdiff
path: root/Annex.hs
diff options
context:
space:
mode:
authorGravatar Joey Hess <joey@kitenet.net>2010-10-13 00:58:59 -0400
committerGravatar Joey Hess <joey@kitenet.net>2010-10-13 00:58:59 -0400
commit67ae9d7fa109503e4b798e2b7703282b92ce3deb (patch)
tree375b45936f516bf05a7f858d3ba10d9d9f450878 /Annex.hs
parent14d7b2ac13318ba513bbab4f08b98434741f0e12 (diff)
relative symlink to annexed file
Diffstat (limited to 'Annex.hs')
-rw-r--r--Annex.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/Annex.hs b/Annex.hs
index e5eb1894f..1c369be92 100644
--- a/Annex.hs
+++ b/Annex.hs
@@ -59,7 +59,7 @@ annexFile state file = do
let dest = annexLocation state backend key
createDirectoryIfMissing True (parentDir dest)
renameFile file dest
- createSymbolicLink dest file
+ createSymbolicLink (annexLocationRelative state backend key) file
gitRun (repo state) ["add", file]
gitRun (repo state) ["commit", "-m",
("git-annex annexed " ++ file), file]