run codespell throughout fixing typos automagically

=== Do not change lines below ===
{
 "chain": [],
 "cmd": "codespell -w",
 "exit": 0,
 "extra_inputs": [],
 "inputs": [],
 "outputs": [],
 "pwd": "."
}
^^^ Do not change lines above ^^^
This commit is contained in:
Yaroslav Halchenko 2024-04-06 15:50:58 +02:00 committed by Joey Hess
parent aa9f9333ea
commit 87e2ae2014
No known key found for this signature in database
GPG key ID: DB12DB0FF05F8F38
31 changed files with 47 additions and 47 deletions

2
Git.hs
View file

@ -167,7 +167,7 @@ relPath = adjustPath torel
p' <- relPathCwdToFile p
return $ if B.null p' then "." else p'
{- Adusts the path to a local Repo using the provided function. -}
{- Adjusts the path to a local Repo using the provided function. -}
adjustPath :: (RawFilePath -> IO RawFilePath) -> Repo -> IO Repo
adjustPath f r@(Repo { location = l@(Local { gitdir = d, worktree = w }) }) = do
d' <- f d