diff options
author | Joey Hess <joey@kitenet.net> | 2010-10-16 22:36:35 -0400 |
---|---|---|
committer | Joey Hess <joey@kitenet.net> | 2010-10-16 22:36:35 -0400 |
commit | da453ba70149444672b8cd64e36fe34604edce73 (patch) | |
tree | d72f9886f8df45795589c37e30b8b9a2947c25ce /Locations.hs | |
parent | 19daf3fca40d99dd305a75e10dcaa8fbc734598b (diff) |
bugfix: don't add files under .git-annex
That could happen if git annex add -N were used repeatedly..
Diffstat (limited to 'Locations.hs')
-rw-r--r-- | Locations.hs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Locations.hs b/Locations.hs index 497850062..76516224c 100644 --- a/Locations.hs +++ b/Locations.hs @@ -18,9 +18,9 @@ import qualified GitRepo as Git {- Long-term, cross-repo state is stored in files inside the .git-annex - directory, in the git repository's working tree. -} -stateLoc = ".git-annex" +stateLoc = ".git-annex/" gitStateDir :: Git.Repo -> FilePath -gitStateDir repo = (Git.workTree repo) ++ "/" ++ stateLoc ++ "/" +gitStateDir repo = (Git.workTree repo) ++ "/" ++ stateLoc {- An annexed file's content is stored in - /path/to/repo/.git/annex/<key>, where <key> is of the form |