avoid pre-commit hook messing up new-style unlocked files in v6 repo
This commit is contained in:
parent
05b598a057
commit
751120c171
4 changed files with 24 additions and 7 deletions
|
@ -43,6 +43,12 @@ versionSupportsDirectMode = go <$> getVersion
|
|||
go (Just "6") = False
|
||||
go _ = True
|
||||
|
||||
versionSupportsUnlockedPointers :: Annex Bool
|
||||
versionSupportsUnlockedPointers = go <$> getVersion
|
||||
where
|
||||
go (Just "6") = True
|
||||
go _ = False
|
||||
|
||||
setVersion :: Version -> Annex ()
|
||||
setVersion = setConfig versionField
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue