aboutsummaryrefslogtreecommitdiff
path: root/Annex/Branch.hs
diff options
context:
space:
mode:
authorGravatar Joey Hess <joey@kitenet.net>2013-11-18 18:05:37 -0400
committerGravatar Joey Hess <joey@kitenet.net>2013-11-18 18:13:09 -0400
commit891868cf0185b8a1b81a8a39cd88ce2e00cdc338 (patch)
tree42173433755ea7c36473fc858d46ce48a3c4a126 /Annex/Branch.hs
parent72bd1369cd32320bb268b16b97032b1f11b33edc (diff)
Ensure execute bit is set on directories when core.sharedrepsitory is set.
Diffstat (limited to 'Annex/Branch.hs')
-rw-r--r--Annex/Branch.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/Annex/Branch.hs b/Annex/Branch.hs
index 5978260a1..22ab002fe 100644
--- a/Annex/Branch.hs
+++ b/Annex/Branch.hs
@@ -386,7 +386,7 @@ setIndexSha :: Git.Ref -> Annex ()
setIndexSha ref = do
f <- fromRepo gitAnnexIndexStatus
liftIO $ writeFile f $ show ref ++ "\n"
- setAnnexPerm f
+ setAnnexFilePerm f
{- Stages the journal into the index and returns an action that will
- clean up the staged journal files, which should only be run once