summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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.
-