aboutsummaryrefslogtreecommitdiff
path: root/doc/bugs/feeding_git_annex_with_xargs_can_fail.mdwn
blob: c4199d3b9c54fd62e29664ee669d9a7f4ce84b54 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
Feeding git-annex a long list off directories, eg with xargs can have
2 bad behaviors:

* git-annex runs git ls-files and passes it the same long list. But the git
  ls-files command is longer than the git-annex command often, so it gets
  truncated and some files are not processed.

  > 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.

  > [[fixed|done]] --[[Joey]]