fix type introduced in 0c13d306

Doubled command name broke show-ref, which broke git annex sync.
Re-read all of 0c13d306 to check for other problems.
This commit is contained in:
Joey Hess 2013-03-07 11:09:30 -04:00
parent effafbc506
commit 82f639c70f

View file

@ -35,7 +35,7 @@ under dir r = Ref $ dir </> show (base r)
{- Checks if a ref exists. -}
exists :: Ref -> Repo -> IO Bool
exists ref = runBool
[Param "show-ref", Param "show-ref", Param "--verify", Param "-q", Param $ show ref]
[Param "show-ref", Param "--verify", Param "-q", Param $ show ref]
{- Checks if HEAD exists. It generally will, except for in a repository
- that was just created. -}