Revert "Significantly sped up processing of large numbers of directories passed to a single git-annex command."
This reverts commit 705112903e
.
Whoops, git ls-files does not always output in the input ordering.
That's why all this work is needed. Urk.
This commit is contained in:
parent
8aa6b5f2a6
commit
f79502d377
3 changed files with 3 additions and 11 deletions
|
@ -5,13 +5,9 @@ Feeding git-annex a long list off directories, eg with xargs can have
|
|||
ls-files command is longer than the git-annex command often, so it gets
|
||||
truncated and some files are not processed.
|
||||
|
||||
> [[fixed|done]] --[[Joey]]
|
||||
> fixed --[[Joey]]
|
||||
|
||||
* It can take a really long time for git-annex to chew through the
|
||||
git-ls-files results. There is probably an exponential blowup in the time
|
||||
relative to the number of parameters. Some of the stuff being done to
|
||||
preserve original ordering etc is likely at fault.
|
||||
|
||||
> I think I've managed to speed this up something like
|
||||
> 1000x or some such. segmentPaths on an utterly insane list of 6 million
|
||||
> files now runs in about 10 seconds. --[[Joey]]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue