Fix ambigous typos
authorYaroslav Halchenko <debian@onerussian.com>
Mon, 13 Mar 2023 22:55:18 +0000 (18:55 -0400)
committerJoey Hess <joeyh@joeyh.name>
Fri, 17 Mar 2023 19:14:47 +0000 (15:14 -0400)
Annex/AdjustedBranch.hs
Annex/NumCopies.hs
Command/Forget.hs
Git/FileMode.hs
Git/UnionMerge.hs
NEWS
Remote/Helper/Chunked.hs
Test.hs
Utility/Scheduled.hs

index 1bc44ea2a27019291e24df5d234ccf4167f62e33..9b35b8f71ba622722283832aadfddcbf51c91672 100644 (file)
@@ -463,7 +463,7 @@ findAdjustingCommit (AdjBranch b) = go =<< catCommit b
  - been propigated to the basis branch, and propigate them to the basis
  - branch and from there on to the orig branch.
  -
- - After propigating the commits back to the basis banch,
+ - After propigating the commits back to the basis branch,
  - rebase the adjusted branch on top of the updated basis branch.
  -}
 propigateAdjustedCommits :: OrigBranch -> Adjustment -> Annex ()
index 1c4fed1fcbb1b750510f91e03d8e850997f368b3..9988b2052f0ba8dc713529ed3480e7bafb356056 100644 (file)
@@ -185,7 +185,7 @@ getNumMinCopiesAttr file =
 
 {- Checks if numcopies are satisfied for a file by running a comparison
  - between the number of (not untrusted) copies that are
- - belived to exist, and the configured value.
+ - believed to exist, and the configured value.
  -
  - This is good enough for everything except dropping the file, which
  - requires active verification of the copies.
index 7409fe2c7750d239889bcb01d2e1475a892f91cd..b3ff0ad0f6df8a1246754c050b17ae104481ea4f 100644 (file)
@@ -48,7 +48,7 @@ start o = starting "forget" ai si $ do
 perform :: Transitions -> Bool -> CommandPerform
 perform ts True = do
        recordTransitions (Branch.change (Branch.RegardingUUID [])) ts
-       -- get branch committed before contining with the transition
+       -- get branch committed before continuing with the transition
        _ <- Branch.update
        void $ Branch.performTransitions ts True []
        next $ return True
index 602fdc298343863459d739b29644db57eda785ce..af4877aaa8ec46307c30f9ab14293f5337d075b7 100644 (file)
@@ -15,7 +15,7 @@ symLinkMode :: FileMode
 symLinkMode = 40960
 
 {- Git uses a special file mode to indicate a symlink. This is the case
- - even on Windows, so we hard code the valuse here, rather than using
+ - even on Windows, so we hard code the values here, rather than using
  - System.Posix.Files.symbolicLinkMode. -}
 isSymLink :: FileMode -> Bool
 isSymLink = checkMode symLinkMode
index c60345334000b9fdaf4774b4f83886cf777b7431..ffa57739754b07ad88e7e8b7f71709b8e2a6c30d 100644 (file)
@@ -108,9 +108,9 @@ mergeFile info file hashhandle h = case S8.words info of
  -}
 calcMerge :: [(Ref, [L8.ByteString])] -> Either Ref [L8.ByteString]
 calcMerge shacontents
-       | null reuseable = Right new
-       | otherwise = Left $ fst $ Prelude.head reuseable
+       | null reusable = Right new
+       | otherwise = Left $ fst $ Prelude.head reusable
   where
-       reuseable = filter (\c -> sorteduniq (snd c) == new) shacontents
+       reusable = filter (\c -> sorteduniq (snd c) == new) shacontents
        new = sorteduniq $ concat $ map snd shacontents
        sorteduniq = S.toList . S.fromList
diff --git a/NEWS b/NEWS
index 489f86e9c3b28fc6234a93cb6e9ba29068c0a5f0..a0be690d25a2b94e9523b1fdd0f1c4da2889420d 100644 (file)
--- a/NEWS
+++ b/NEWS
@@ -30,7 +30,7 @@ git-annex (8.20200226) upstream; urgency=medium
   This version of git-annex uses repository version 8 for all repositories.
 
   Existing repositories will be automatically upgraded by default.
-  You can prevent this, by runing: git config annex.autoupgraderepository false
+  You can prevent this, by running: git config annex.autoupgraderepository false
  
   The upgrade process involves regenerating some sqlite databases. There are a
   couple consequences of the upgrade to keep in mind:
@@ -78,7 +78,7 @@ git-annex (7.20190912) upstream; urgency=medium
   This version of git-annex uses repository version 7 for all repositories.
 
   Existing v5 repositories will be automatically upgraded by default.
-  You can prevent this, by runing: git config annex.autoupgraderepository false
+  You can prevent this, by running: git config annex.autoupgraderepository false
 
   A v7 repository can can have some files locked while other files are
   unlocked, and all git and git-annex commands can be used on both locked and
index f9014074b05ccc55aad2163e5b9f41f7c04267a7..3e7f8a47e11564323f70845cd85084bd5c76838f 100644 (file)
@@ -239,7 +239,7 @@ removeChunks remover u chunkconfig encryptor k = do
  - chunkKeys until it finds one where the retriever successfully
  - gets the first chunked key.
  -
- - If retrival of one of the subsequent chunks throws an exception,
+ - If retrieval of one of the subsequent chunks throws an exception,
  - gives up. Note that partial data may have been written to the file
  - in this case.
  -
diff --git a/Test.hs b/Test.hs
index c16e597d71c37428d22627db70d5d7569e5842aa..8f85c0bac2e96b44d38105efa51a2f6c63b98a1b 100644 (file)
--- a/Test.hs
+++ b/Test.hs
@@ -706,7 +706,7 @@ test_move_numcopies = intmpclonerepo $ do
        annexed_notpresent annexedfile
        inmainrepo $ annexed_present annexedfile
        git_annex "get" [annexedfile] "get of file"
-       git_annex_shouldfail "move" ["--from", "origin", annexedfile] "move of file --from remote that violates numcopies setting not allowd"
+       git_annex_shouldfail "move" ["--from", "origin", annexedfile] "move of file --from remote that violates numcopies setting not allowed"
        git_annex_shouldfail "move" ["--to", "origin", annexedfile] "move of file --to remote that violates numcopies setting not allowed"
 
 test_copy :: Assertion
index 12ead4252158cd3cf5dc9d44fda2931f58e8a323..dfaeb7ff40dbcd435114c91f77929cbd7672ed0a 100644 (file)
@@ -113,7 +113,7 @@ calcNextTime schedule@(Schedule recurrance scheduledtime) lasttime currenttime
                (LocalTime endd (TimeOfDay 23 59 0))
        findfrom r afterday candidate
                | ynum candidate > (ynum (localDay currenttime)) + 100 =
-                       -- avoid possible infinite recusion
+                       -- avoid possible infinite recursion
                        error $ "bug: calcNextTime did not find a time within 100 years to run " ++
                        show (schedule, lasttime, currenttime)
                | otherwise = findfromChecked r afterday candidate