From 6fdfae08aebbb65049589727e38df16078ec8b69 Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Thu, 7 Mar 2013 11:09:30 -0400 Subject: fix type introduced in 9bce151d Doubled command name broke show-ref, which broke git annex sync. Re-read all of 9bce151d to check for other problems. --- Git/Ref.hs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Git/Ref.hs b/Git/Ref.hs index 26a1fc8bf..c98802cb7 100644 --- a/Git/Ref.hs +++ b/Git/Ref.hs @@ -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. -} -- cgit v1.2.3