From: Joey Hess Date: Tue, 16 Nov 2021 16:33:36 +0000 (-0400) Subject: comment X-Git-Tag: archive/raspbian/10.20250416-2+rpi1~1^2~79^2~26 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=c9d598ced71642c601ed38a27746d51597560492;p=git-annex.git comment --- diff --git a/doc/bugs/Windows__58___substantial_per-file_cost_for___96__add__96__/comment_17_7db34973cb362bee271545c3c58690b4._comment b/doc/bugs/Windows__58___substantial_per-file_cost_for___96__add__96__/comment_17_7db34973cb362bee271545c3c58690b4._comment new file mode 100644 index 0000000000..62774e4b12 --- /dev/null +++ b/doc/bugs/Windows__58___substantial_per-file_cost_for___96__add__96__/comment_17_7db34973cb362bee271545c3c58690b4._comment @@ -0,0 +1,16 @@ +[[!comment format=mdwn + username="joey" + subject="""comment 17""" + date="2021-11-16T16:28:11Z" + content=""" +The new `git-annex filter-process` should improve this speed a lot. +It avoids a new process being started for each file that is added. + +git config filter.annex.process 'git-annex filter-process' + +That may become the default in v9, or possibly in new v8 repositories. + +There is a tradeoff, since `git add` of a large file to the annex gets +slower when it's enabled. Only about 5% in my benchmarks on linux, but +maybe more on windows, I don't know. +"""]]