diff options
author | Joey Hess <joey@kitenet.net> | 2010-10-13 01:36:20 -0400 |
---|---|---|
committer | Joey Hess <joey@kitenet.net> | 2010-10-13 01:36:20 -0400 |
commit | 3e65384f06400e06f78173d64b13da07c5d024d7 (patch) | |
tree | 33633d58502174a989e3a1927811f33e30e5961b /Locations.hs | |
parent | 16cd682290b065fee59575b077525d20713e4b4b (diff) |
fix relative symlink 2
Diffstat (limited to 'Locations.hs')
-rw-r--r-- | Locations.hs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Locations.hs b/Locations.hs index 6aba0ed1a..72f4c451f 100644 --- a/Locations.hs +++ b/Locations.hs @@ -40,7 +40,8 @@ annexLocation state backend key = (gitWorkTree $ repo state) ++ "/" ++ (annexLocationRelative state backend key) +{- Annexed file's location relative to the gitWorkTree -} annexLocationRelative :: State -> Backend -> Key -> FilePath -annexLocationRelative state backend key = +annexLocationRelative state backend key = gitDir (repo state) ++ "/annex/" ++ (name backend) ++ "/" ++ (keyFile key) |