diff options
Diffstat (limited to 'Annex/Version.hs')
-rw-r--r-- | Annex/Version.hs | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Annex/Version.hs b/Annex/Version.hs index 7c909ae05..00e574929 100644 --- a/Annex/Version.hs +++ b/Annex/Version.hs @@ -33,6 +33,9 @@ getVersion = handle <$> getConfig versionField "" setVersion :: Annex () setVersion = setConfig versionField defaultVersion +removeVersion :: Annex () +removeVersion = unsetConfig versionField + checkVersion :: Version -> Annex () checkVersion v | v `elem` supportedVersions = noop |