fix logic that was not inverted after all

oops
This commit is contained in:
Joey Hess 2022-01-13 14:11:36 -04:00
parent a3b6b3499b
commit e28d1d0325
No known key found for this signature in database
GPG key ID: DB12DB0FF05F8F38

View file

@ -122,8 +122,8 @@ contentLockFile :: Key -> Annex (Maybe RawFilePath)
- versions use a separate lock file, to better support repos shared - versions use a separate lock file, to better support repos shared
- amoung users in eg a group. -} - amoung users in eg a group. -}
contentLockFile key = ifM (versionNeedsWritableContentFiles <$> getVersion) contentLockFile key = ifM (versionNeedsWritableContentFiles <$> getVersion)
( Just <$> calcRepo (gitAnnexContentLock key) ( pure Nothing
, pure Nothing , Just <$> calcRepo (gitAnnexContentLock key)
) )
#else #else
{- Windows always has to use a separate lock file from the content, since {- Windows always has to use a separate lock file from the content, since