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
|
@ -56,7 +56,7 @@ startSrcDest ps@(src:dest:[])
|
|||
( perform src' key
|
||||
, giveup $ src ++ " does not have expected content of " ++ dest
|
||||
)
|
||||
ai = ActionItemOther (Just src)
|
||||
ai = ActionItemOther (Just (QuotedPath src'))
|
||||
si = SeekInput ps
|
||||
startSrcDest _ = giveup "specify a src file and a dest file"
|
||||
|
||||
|
@ -73,7 +73,7 @@ startKnown src = notAnnexed src' $
|
|||
where
|
||||
src' = toRawFilePath src
|
||||
ks = KeySource src' src' Nothing
|
||||
ai = ActionItemOther (Just src)
|
||||
ai = ActionItemOther (Just (QuotedPath src'))
|
||||
si = SeekInput [src]
|
||||
|
||||
notAnnexed :: RawFilePath -> CommandStart -> CommandStart
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue