d4cfce6fbc2b25935aeb96be98d9a5d76f3bb7e3
[git-annex.git] /
1 [[!comment format=mdwn
2  username="joey"
3  subject="""comment 4"""
4  date="2022-09-21T19:19:08Z"
5  content="""
6 So you can reproduce this? I am pretty sure it's not as simple as a drop
7 followed by a get, so more information about reproducing it seems crucial.
8
9 I assume you are *not* seeing the "This is only a cosmetic problem affecting git status"
10 message?
11
12 I expect that running `git update-index --refresh .dandi/assets.json`  
13 will fix git status. Can you confirm?
14
15 The only way I know of that this can happen without the message is if a
16 drop or a get is still running, or gets interrupted after it
17 gets an unlocked file, but before it finishes. One of the last things
18 git-annex does is restage the unlocked files.
19
20 Short of that, it seems like it would have to be a bug that prevents
21 restagePointerFile from working. Which might not be a bug in git-annex,
22 if the problem involves git's handling of timestamps in the index, for
23 example. (Which is known to have some odd behaviors.)
24
25 (git-annex could be improved to do the
26 restaging later when interrupted and possibly after such a bug.
27 But there's no way to make it recover in `git status`, because
28 git doesn't run it in this situation.)
29 """]]