avoid pre-commit check having to do with v5 unlocked files when in v6 mode
This commit is contained in:
parent
a983a3a7a2
commit
d245a80518
1 changed files with 1 additions and 1 deletions
|
@ -43,7 +43,7 @@ seek ps = lockPreCommitHook $ ifM isDirect
|
|||
withWords startDirect ps
|
||||
runAnnexHook preCommitAnnexHook
|
||||
, do
|
||||
ifM (liftIO Git.haveFalseIndex)
|
||||
ifM (not <$> versionSupportsUnlockedPointers <&&> liftIO Git.haveFalseIndex)
|
||||
( do
|
||||
(fs, cleanup) <- inRepo $ Git.typeChangedStaged ps
|
||||
whenM (anyM isOldUnlocked fs) $
|
||||
|
|
Loading…
Add table
Reference in a new issue