Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Prune payload-links to files that are not present in the repository. A .payload-link is stored only once, even if there are two objects with different checksums but same payload. In the case prune deletes the file referred by the payload-link, the other file won't have any .payload-reference left. A better algorithm to deal with this case would be to delete every .payload-link file and then recreate them all for the objects that are left in the repository at the expense of calculating the checksum for each object in repository. Signed-off-by: Giuseppe Scrivano <[email protected]>
- Loading branch information