This commit is contained in:
Joey Hess 2016-01-19 11:35:14 -04:00
parent a3399a363f
commit aae77b1856
Failed to extract signature
2 changed files with 24 additions and 0 deletions

View file

@ -0,0 +1,12 @@
[[!comment format=mdwn
username="joey"
subject="""comment 1"""
date="2016-01-19T15:32:48Z"
content="""
Has similar problems to batching find; if a whole directory is added any
number of lines can be output.
So, either needs a similar thing to indicate end of output for current
item, or perhaps it would make sense for the batched add to not recurse
into directories, so it would always output exactly 1 line per input.
"""]]

View file

@ -0,0 +1,12 @@
[[!comment format=mdwn
username="joey"
subject="""comment 1"""
date="2016-01-19T15:30:01Z"
content="""
Couldn't you use the existing info --batch for the same purpose?
batching find has the problem that it can output any number of lines
(0 for a non-annexed file, 1 for an annexed file, N for a directory). So,
the consumer has no way to tell when it reaches the end of output. So some
additional thing would be needed to indicate end of output.
"""]]