analysis
authorJoey Hess <joeyh@joeyh.name>
Wed, 9 Nov 2022 19:46:14 +0000 (15:46 -0400)
committerJoey Hess <joeyh@joeyh.name>
Wed, 9 Nov 2022 19:46:14 +0000 (15:46 -0400)
doc/bugs/Versioned_S3_tree_does_not_unexport_git_objects.mdwn
doc/bugs/Versioned_S3_tree_does_not_unexport_git_objects/comment_3_176cbc137afb5cf8841ff9114b111fef._comment [new file with mode: 0644]

index ad685044518b0d86475f5f49cfdbc9a5ff2e36da..d06fe59a96994bd41ba660c9c6d43d7d2d132092 100644 (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"]]
diff --git a/doc/bugs/Versioned_S3_tree_does_not_unexport_git_objects/comment_3_176cbc137afb5cf8841ff9114b111fef._comment b/doc/bugs/Versioned_S3_tree_does_not_unexport_git_objects/comment_3_176cbc137afb5cf8841ff9114b111fef._comment
new file mode 100644 (file)
index 0000000..0d8f4ce
--- /dev/null
@@ -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.
+"""]]