summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Joey Hess <joey@kitenet.net>2011-06-23 12:11:09 -0400
committerGravatar Joey Hess <joey@kitenet.net>2011-06-23 12:11:09 -0400
commit1b21dd99c58c40ddd5bce9d575a47c66f121a29c (patch)
tree6298f8a49e83b96a48fe459ad268814e051d92b8
parentd05fd113925bd3528a3b8643c58536c96d7151bb (diff)
rename git-annex index file
-rw-r--r--Branch.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/Branch.hs b/Branch.hs
index f0d97bfc3..6b2e8c23e 100644
--- a/Branch.hs
+++ b/Branch.hs
@@ -54,7 +54,7 @@ shortref = remove "refs/heads/" . remove "refs/remotes/"
{- A separate index file for the branch. -}
index :: Git.Repo -> FilePath
-index g = Git.workTree g </> Git.gitDir g </> "index." ++ name
+index g = gitAnnexDir g </> "index"
{- Populates the branch's index file with the current branch contents.
-