This commit is contained in:
Joey Hess 2010-10-12 00:53:42 -04:00
parent 107074d662
commit 92bf408c66
3 changed files with 72 additions and 33 deletions

View file

@ -9,7 +9,7 @@ module Locations (
import GitRepo
{- Long-term, cross-repo state is stored in files inside the .git-annex
- directory, in the git repository. -}
- directory, in the git repository's working tree. -}
stateLoc = ".git-annex"
gitStateDir :: GitRepo -> FilePath
gitStateDir repo = (gitRepoTop repo) ++ "/" ++ stateLoc ++ "/"
gitStateDir repo = (gitWorkTree repo) ++ "/" ++ stateLoc ++ "/"