From 2df204b4119ea3c036e6d5312b33effd32a4013a Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Fri, 11 Jul 2025 12:42:22 -0400 Subject: [PATCH] another case --- ..._ddd574497f95e5b30c3c7706ef0ad6a5._comment | 21 +++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 doc/bugs/Missing_file_content_in_secondary_worktree___40__win__41__/comment_2_ddd574497f95e5b30c3c7706ef0ad6a5._comment diff --git a/doc/bugs/Missing_file_content_in_secondary_worktree___40__win__41__/comment_2_ddd574497f95e5b30c3c7706ef0ad6a5._comment b/doc/bugs/Missing_file_content_in_secondary_worktree___40__win__41__/comment_2_ddd574497f95e5b30c3c7706ef0ad6a5._comment new file mode 100644 index 0000000000..0b430e5f87 --- /dev/null +++ b/doc/bugs/Missing_file_content_in_secondary_worktree___40__win__41__/comment_2_ddd574497f95e5b30c3c7706ef0ad6a5._comment @@ -0,0 +1,21 @@ +[[!comment format=mdwn + username="joey" + subject="""comment 2""" + date="2025-07-11T16:18:16Z" + content=""" +In a FAT filesystem after reproducing this bug with initial file `foo`, +the following thing also happens: + + joey@darkstar:~/mnt/demo-wt3#demo-wt3>cat foo + /annex/objects/SHA256E-s30--dcf81122854db210a12a47851a3430b6ab000e3f981b5266f0873b94d130c999 + joey@darkstar:~/mnt/demo-wt3#demo-wt3>cp foo bar + joey@darkstar:~/mnt/demo-wt3#demo-wt3>git add bar + joey@darkstar:~/mnt/demo-wt3#demo-wt3>cat bar + /annex/objects/SHA256E-s30--dcf81122854db210a12a47851a3430b6ab000e3f981b5266f0873b94d130c999 + +This seems to be another case of the bug, because the content of the object +is present in the repository, so usually `git add` of a pointer file +should result in the smudge filter populating it. + +`git-annex add` behaves the same as well. +"""]]