summaryrefslogtreecommitdiff
path: root/Annex
diff options
context:
space:
mode:
authorGravatar Joey Hess <joey@kitenet.net>2012-12-13 00:46:10 -0400
committerGravatar Joey Hess <joey@kitenet.net>2012-12-13 00:46:10 -0400
commit49a456e8be7fcfdf22554bd2c019da7f9d77ec5f (patch)
tree07d3e3ef1d83c374cdfaf6bbd76d7aeb05c5c29c /Annex
parentde6406afce6de0cf8a48bc2ecf9be1e7de93e40e (diff)
parent7db480af0f944ca0e6c062cd1243c63ad7f878d1 (diff)
Merge branch 'master' into desymlink
Diffstat (limited to 'Annex')
-rw-r--r--Annex/Branch.hs4
1 files changed, 2 insertions, 2 deletions
diff --git a/Annex/Branch.hs b/Annex/Branch.hs
index d0a74c709..69b68cf7a 100644
--- a/Annex/Branch.hs
+++ b/Annex/Branch.hs
@@ -116,7 +116,7 @@ updateTo pairs = do
dirty <- journalDirty
(refs, branches) <- unzip <$> filterM isnewer pairs
if null refs
- {- Even when no refs need to be merged, the index
+ {- Even when no refs need to be merged, the index
- may still be updated if the branch has gotten ahead
- of the index. -}
then whenM (needUpdateIndex branchref) $ lockJournal $ do
@@ -325,7 +325,7 @@ needUpdateIndex branchref = do
- given ref of the branch. -}
setIndexSha :: Git.Ref -> Annex ()
setIndexSha ref = do
- lock <- fromRepo gitAnnexIndexLock
+ lock <- fromRepo gitAnnexIndexLock
liftIO $ writeFile lock $ show ref ++ "\n"
setAnnexPerm lock