limit git annex adjust to v6 mode

doesn't work in v5
This commit is contained in:
Joey Hess 2016-03-29 12:05:02 -04:00
parent f4dd3fbb68
commit 5e1d7bbc00
Failed to extract signature
2 changed files with 6 additions and 0 deletions

View file

@ -52,6 +52,9 @@ versionSupportsUnlockedPointers = go <$> getVersion
go (Just "6") = True
go _ = False
versionSupportsAdjustedBranch :: Annex Bool
versionSupportsAdjustedBranch = versionSupportsUnlockedPointers
setVersion :: Version -> Annex ()
setVersion = setConfig versionField