force fully strict read of journal file again
authorJoey Hess <joeyh@joeyh.name>
Fri, 22 Jul 2022 15:36:21 +0000 (11:36 -0400)
committerJoey Hess <joeyh@joeyh.name>
Fri, 22 Jul 2022 15:36:21 +0000 (11:36 -0400)
commitcbe12b9bc33a74f7e9edf651490c07b74f8689a3
treef6d29eeece9a1f0a97fe1cba14547ec0eaf9d0be
parent27e01080976c81c603699fb153ebadc24b021d0c
force fully strict read of journal file again

I was thinking that discardIncompleteAppend would make it strict, since
it looks at the end of the bytestring. But, it's applied lazily..

This probably fixes windows, which was failing:

      git-annex.exe: .git\annex\journal\trust.log: DeleteFile "\\\\?\\C:\\Users\\runneradmin\\.t\\5\\tmprepo22\\.git\\annex\\journal\\trust.log": permission denied (The process cannot access the file because it is being used by another process.)
Annex/Journal.hs