git style quoting for ActionItemOther
Added StringContainingQuotedPath, which is used for ActionItemOther. In the process, checked every ActionItemOther for those containing filenames, and made them use quoting. Sponsored-by: Graham Spencer on Patreon
This commit is contained in:
parent
d689a5b338
commit
2ba1559a8e
41 changed files with 158 additions and 89 deletions
|
@ -133,6 +133,6 @@ parserDiffRaw f = DiffTreeItem
|
|||
<*> (maybe (fail "bad dstsha") return . extractSha =<< nextword)
|
||||
<* A8.char ' '
|
||||
<*> A.takeByteString
|
||||
<*> pure (asTopFilePath $ fromInternalGitPath $ Git.Filename.decode f)
|
||||
<*> pure (asTopFilePath $ fromInternalGitPath $ Git.Filename.unquote f)
|
||||
where
|
||||
nextword = A8.takeTill (== ' ')
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue