From: Atemu Date: Sat, 22 May 2021 10:20:35 +0000 (+0000) Subject: Added a comment X-Git-Tag: archive/raspbian/10.20250416-2+rpi1~1^2~91^2~340^2~8 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=21fba1cdb80255a72d9811734c971578382346fa;p=git-annex.git Added a comment --- diff --git a/doc/bugs/delayadd_doesn__39__t_work/comment_5_31a194407e433b17450725170552b8f7._comment b/doc/bugs/delayadd_doesn__39__t_work/comment_5_31a194407e433b17450725170552b8f7._comment new file mode 100644 index 0000000000..6e0293d9a6 --- /dev/null +++ b/doc/bugs/delayadd_doesn__39__t_work/comment_5_31a194407e433b17450725170552b8f7._comment @@ -0,0 +1,32 @@ +[[!comment format=mdwn + username="Atemu" + avatar="http://cdn.libravatar.org/avatar/d1f0f4275931c552403f4c6707bead7a" + subject="comment 5" + date="2021-05-22T10:20:35Z" + content=""" +I found the culprit: largefiles. + +I use +``` +* annex.largefiles=mimeencoding=binary +``` + +in my documents repo because I need to efficiently store lots of text and diff, merge etc. properly. + +Here are the revised repro steps: + +``` +git init test +cd test +git annex init +git config annex.delayadd 5 +echo '* annex.largefiles=mimeencoding=binary' > .gitattributes +git add . +git commit -m \"gitattributes: largefiles\" +git annex assistant +echo `date` > test +git log --patch +``` + +The date of the commit should be the date in the file +5s. +"""]]