fix bug introduced in direct mode conversion
oops, the code was "if direct && not present" and I removed the direct which made the wrong path be taken.
This commit is contained in:
parent
a51a479fb9
commit
3a0842d9f8
2 changed files with 3 additions and 4 deletions
|
@ -248,9 +248,7 @@ verifyLocationLog key keystatus ai = do
|
|||
whenM (annexSecureHashesOnly <$> Annex.getGitConfig) $
|
||||
warning $ "** Despite annex.securehashesonly being set, " ++ obj ++ " has content present in the annex using an insecure " ++ decodeBS (formatKeyVariety (keyVariety key)) ++ " key"
|
||||
|
||||
if not present
|
||||
then return True
|
||||
else verifyLocationLog' key ai present u (logChange key u)
|
||||
verifyLocationLog' key ai present u (logChange key u)
|
||||
|
||||
verifyLocationLogRemote :: Key -> ActionItem -> Remote -> Bool -> Annex Bool
|
||||
verifyLocationLogRemote key ai remote present =
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue