diff options
Diffstat (limited to 'Annex')
-rw-r--r-- | Annex/Branch.hs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Annex/Branch.hs b/Annex/Branch.hs index c6c9b9949..df1412af5 100644 --- a/Annex/Branch.hs +++ b/Annex/Branch.hs @@ -210,7 +210,7 @@ getHistorical :: RefDate -> FilePath -> Annex String getHistorical date file = -- This check avoids some ugly error messages when the reflog -- is empty. - ifM (null <$> inRepo (Git.RefLog.get' [Param "-n1"] fullname)) + ifM (null <$> inRepo (Git.RefLog.get' [Param "-n1"] (Just fullname))) ( error ("No reflog for " ++ fromRef fullname) , getRef (Git.Ref.dateRef fullname date) file ) |