From 05592a2ddbf9f8b070741b1a81f2e693089026da Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Wed, 21 Sep 2022 16:11:10 -0400 Subject: [PATCH] comment --- ..._ac9c166c2b0c3aad8391abb56654ecf2._comment | 29 +++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 doc/bugs/reports_file___34__modified__34___whenever_it_is_not/comment_4_ac9c166c2b0c3aad8391abb56654ecf2._comment diff --git a/doc/bugs/reports_file___34__modified__34___whenever_it_is_not/comment_4_ac9c166c2b0c3aad8391abb56654ecf2._comment b/doc/bugs/reports_file___34__modified__34___whenever_it_is_not/comment_4_ac9c166c2b0c3aad8391abb56654ecf2._comment new file mode 100644 index 0000000000..d4cfce6fbc --- /dev/null +++ b/doc/bugs/reports_file___34__modified__34___whenever_it_is_not/comment_4_ac9c166c2b0c3aad8391abb56654ecf2._comment @@ -0,0 +1,29 @@ +[[!comment format=mdwn + username="joey" + subject="""comment 4""" + date="2022-09-21T19:19:08Z" + content=""" +So you can reproduce this? I am pretty sure it's not as simple as a drop +followed by a get, so more information about reproducing it seems crucial. + +I assume you are *not* seeing the "This is only a cosmetic problem affecting git status" +message? + +I expect that running `git update-index --refresh .dandi/assets.json` +will fix git status. Can you confirm? + +The only way I know of that this can happen without the message is if a +drop or a get is still running, or gets interrupted after it +gets an unlocked file, but before it finishes. One of the last things +git-annex does is restage the unlocked files. + +Short of that, it seems like it would have to be a bug that prevents +restagePointerFile from working. Which might not be a bug in git-annex, +if the problem involves git's handling of timestamps in the index, for +example. (Which is known to have some odd behaviors.) + +(git-annex could be improved to do the +restaging later when interrupted and possibly after such a bug. +But there's no way to make it recover in `git status`, because +git doesn't run it in this situation.) +"""]] -- 2.30.2