From fcdc4797a9ab2b792a9bb20f2ca9802b8f6d5a1e Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Mon, 28 Feb 2011 16:10:16 -0400 Subject: use ShellParam type So, I have a type checked safe handling of filenames starting with dashes, throughout the code. --- Command/Fix.hs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Command/Fix.hs') diff --git a/Command/Fix.hs b/Command/Fix.hs index d67eca164..004754871 100644 --- a/Command/Fix.hs +++ b/Command/Fix.hs @@ -44,5 +44,5 @@ perform file link = do cleanup :: FilePath -> CommandCleanup cleanup file = do - Annex.queue "add" ["--"] file + Annex.queue "add" [Param "--"] file return True -- cgit v1.2.3