uninit: Unset annex.version. Closes: #689852
This commit is contained in:
parent
0e0003f004
commit
34e7faf71a
3 changed files with 5 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue