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
|
@ -73,7 +73,7 @@ start o = do
|
|||
Just "." -> (".", checkUnused refspec)
|
||||
Just "here" -> (".", checkUnused refspec)
|
||||
Just n -> (n, checkRemoteUnused n refspec)
|
||||
starting "unused" (ActionItemOther (Just name)) (SeekInput []) perform
|
||||
starting "unused" (ActionItemOther (Just (UnquotedString name))) (SeekInput []) perform
|
||||
|
||||
checkUnused :: RefSpec -> CommandPerform
|
||||
checkUnused refspec = chain 0
|
||||
|
@ -337,6 +337,6 @@ startUnused message unused badunused tmpunused maps n = search
|
|||
case M.lookup n m of
|
||||
Nothing -> search rest
|
||||
Just key -> starting message
|
||||
(ActionItemOther $ Just $ show n)
|
||||
(ActionItemOther $ Just $ UnquotedString $ show n)
|
||||
(SeekInput [])
|
||||
(a key)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue