From ba6b470853c8e8ebf24eb0d04de6536512138221 Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Thu, 2 Apr 2015 00:05:42 -0400 Subject: [PATCH] bug report --- doc/bugs/feeding_git_annex_with_xargs_can_fail.mdwn | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 doc/bugs/feeding_git_annex_with_xargs_can_fail.mdwn diff --git a/doc/bugs/feeding_git_annex_with_xargs_can_fail.mdwn b/doc/bugs/feeding_git_annex_with_xargs_can_fail.mdwn new file mode 100644 index 0000000000..748fb1e551 --- /dev/null +++ b/doc/bugs/feeding_git_annex_with_xargs_can_fail.mdwn @@ -0,0 +1,11 @@ +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. + +* 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.