diff options
Diffstat (limited to 'Annex/Version.hs')
-rw-r--r-- | Annex/Version.hs | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/Annex/Version.hs b/Annex/Version.hs index 917859eae..cf5d22484 100644 --- a/Annex/Version.hs +++ b/Annex/Version.hs @@ -8,7 +8,6 @@ module Annex.Version where import Common.Annex -import qualified Git.Config import Config type Version = String @@ -26,7 +25,7 @@ versionField :: String versionField = "annex.version" getVersion :: Annex (Maybe Version) -getVersion = handle <$> fromRepo (Git.Config.get versionField "") +getVersion = handle <$> getConfig versionField "" where handle [] = Nothing handle v = Just v |