# Replace a damaged same-size copy, and let the first listing finish first · dara/icarus

[View on GitCafe](https://git.cafe/dara/icarus/commit/f42c1ced21a87681ac143ca382717c1555533ea7)

Repository: [dara/icarus](https://git.cafe/dara/icarus)

Visibility: public

Requested revision: f42c1ced21a87681ac143ca382717c1555533ea7

Requested commit: f42c1ced21a87681ac143ca382717c1555533ea7

Commit: f42c1ced21a87681ac143ca382717c1555533ea7

Tree: ba07a51f33d963ba1c0544f6ef6c923ac438235e

Author: Dara Adedeji

Committer: Dara Adedeji

## Message

```
Replace a damaged same-size copy, and let the first listing finish first

Import skipped copying when a file of the same size already had the
name, so a damaged copy the size of the good one survived an add that
said "Added". add() now tells import to replace it: anything with the
match's name there wasn't a readable copy of it. add() also waits for the
first listing, which would otherwise publish over the add's newer one.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

```

## Parents

- [2110e8060d13f6685d7e03918b15707dfc4f260b](https://git.cafe/dara/icarus/commit/2110e8060d13f6685d7e03918b15707dfc4f260b?format=markdown)

[Source at this commit](https://git.cafe/dara/icarus/tree/f42c1ced21a87681ac143ca382717c1555533ea7?format=markdown)
