From 726f801946d897e8da0ecbe2aaa297f3a68296a2 Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Thu, 9 Jan 2025 12:07:23 -0400 Subject: [PATCH] comment --- ..._926f3d02aa5044497af4fc88a8ecefa6._comment | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 doc/bugs/keeps_trying_to_commit_file_unlocked/comment_4_926f3d02aa5044497af4fc88a8ecefa6._comment diff --git a/doc/bugs/keeps_trying_to_commit_file_unlocked/comment_4_926f3d02aa5044497af4fc88a8ecefa6._comment b/doc/bugs/keeps_trying_to_commit_file_unlocked/comment_4_926f3d02aa5044497af4fc88a8ecefa6._comment new file mode 100644 index 0000000000..c54196e4d7 --- /dev/null +++ b/doc/bugs/keeps_trying_to_commit_file_unlocked/comment_4_926f3d02aa5044497af4fc88a8ecefa6._comment @@ -0,0 +1,19 @@ +[[!comment format=mdwn + username="joey" + subject="""comment 4""" + date="2025-01-09T15:58:54Z" + content=""" +Getting a file into this state can be done like this: + + echo bar > foo + git-annex add + echo '.git/annex/objects/g7/9v/SHA256E-s4--7d865e959b2466918c9863afca942d0fb89d7c9ac0c99bafc3749504ded97730/SHA256E-s4--7d865e959b2466918c9863afca942d0fb89d7c9ac0c99bafc3749504ded97730' > foo + git add foo + git commit -m foo + git reset --hard + git status + git diff + +How the symlink bit might have gotten lost in real life, I don't know +though. +"""]]