This commit is contained in:
Joey Hess 2022-11-09 15:46:14 -04:00
parent 27444459e9
commit 56d563577f
No known key found for this signature in database
GPG key ID: DB12DB0FF05F8F38
2 changed files with 18 additions and 1 deletions

View file

@ -394,4 +394,4 @@ ok
Thank you for all your work making this wonderful tool!
[[!meta title="export tree sometimes does not delete removed git files"]]
[[!meta title="export tree bug when two files with the same content both should be removed"]]

View file

@ -0,0 +1,17 @@
[[!comment format=mdwn
username="joey"
subject="""comment 3"""
date="2022-11-09T19:41:33Z"
content="""
Ok, the bug is due to 2 files that have the same content.
sub-000101/ses-baseline/pet/sub-000101_ses-baseline_rec-MLEM_pet.json
sub-000101/ses-displaced/pet/sub-000101_ses-displaced_rec-MLEM_pet.json
Both files get deleted. And the bug makes it only pick one of the two files
to delete, because it's using a map from key to file and the second file
overwrites the first in the map.
So this would also presumably affect annexed files when two have the same
content and are being deleted.
"""]]