fix export overwrite on FAT
authorJoey Hess <joeyh@joeyh.name>
Mon, 25 Jan 2021 17:31:17 +0000 (13:31 -0400)
committerJoey Hess <joeyh@joeyh.name>
Mon, 25 Jan 2021 17:31:17 +0000 (13:31 -0400)
commitb63e3118d7cb8f3f3e72909a885fc83d903d38ef
treef9bcbe43609761ecb82ad52e656e5c3bfe4278c3
parent9e1a797fb7795f3ac6d6a41617b0da571a655235
fix export overwrite on FAT

Don't accept the cid of the temp file that the content has just been
written to as something we will accept if another file has that same
content. There's no reason to, and on FAT, due to mtime resolution,
the test suite hit just such a case.

This fixes a reversion from 73df633a6215faa093e4a7524c6d328aa988aed1
which removed inode from the ContentIdentifier.
Remote/Directory.hs
doc/bugs/export__95__import_fails_on_crippled_FS_on_ubuntu.mdwn
doc/bugs/export__95__import_fails_on_crippled_FS_on_ubuntu/comment_3_d949841feb6a035e20a3d0f31634d388._comment [new file with mode: 0644]