This commit is contained in:
Joey Hess 2021-11-16 12:33:36 -04:00
parent 58c9372053
commit c9d598ced7
No known key found for this signature in database
GPG key ID: DB12DB0FF05F8F38

View file

@ -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.
"""]]