rename Git.Filename to Git.Quote

This commit is contained in:
Joey Hess 2023-04-12 17:18:29 -04:00
parent 2a0a0fec8c
commit fe5e586b72
No known key found for this signature in database
GPG key ID: DB12DB0FF05F8F38
15 changed files with 19 additions and 19 deletions

View file

@ -29,7 +29,7 @@ import Git.Sha
import Git.Command
import Git.FilePath
import Git.DiffTreeItem
import qualified Git.Filename
import qualified Git.Quote
import qualified Git.Ref
import Utility.Attoparsec
@ -133,6 +133,6 @@ parserDiffRaw f = DiffTreeItem
<*> (maybe (fail "bad dstsha") return . extractSha =<< nextword)
<* A8.char ' '
<*> A.takeByteString
<*> pure (asTopFilePath $ fromInternalGitPath $ Git.Filename.unquote f)
<*> pure (asTopFilePath $ fromInternalGitPath $ Git.Quote.unquote f)
where
nextword = A8.takeTill (== ' ')