use ShellParam type
So, I have a type checked safe handling of filenames starting with dashes, throughout the code.
This commit is contained in:
parent
7e5678bcf7
commit
fcdc4797a9
24 changed files with 151 additions and 124 deletions
|
@ -60,7 +60,7 @@ logStatus key status = do
|
|||
g <- Annex.gitRepo
|
||||
u <- getUUID g
|
||||
logfile <- liftIO $ logChange g key u status
|
||||
Annex.queue "add" ["--"] logfile
|
||||
Annex.queue "add" [Param "--"] logfile
|
||||
|
||||
{- Runs an action, passing it a temporary filename to download,
|
||||
- and if the action succeeds, moves the temp file into
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue