diff options
author | Joey Hess <joey@kitenet.net> | 2013-12-16 15:43:28 -0400 |
---|---|---|
committer | Joey Hess <joey@kitenet.net> | 2013-12-16 16:16:19 -0400 |
commit | 216bb57e1060dbf82c3c1ead19a7264b048372cf (patch) | |
tree | b47f0e119da4a69ba058889603a8d411d31cf5f7 /Limit.hs | |
parent | 2d80dac99cb3af02d013507f04a5a24d5be2e7ef (diff) |
assistant: Always batch changes found in startup scan.
Batch detection is heuristic, so can sometimes fail. I observed one such
failure while starting up in a repository with 87000 files. After the first
several batches of ~5000 files, it fell out of batch mode, and never
re-entered it, and so made many more commits of a few files at a time
than necessary.
So, let's always use batch mode when in the startup scan. This avoids the
heuristic there, at least.
There is clearly also room to improve the heuristic. Possibly 10 files is
too high a bar to be found during a commit, on a system that can commit
quickly.
Diffstat (limited to 'Limit.hs')
0 files changed, 0 insertions, 0 deletions