From afbce3349b3bd7a97377839892da4118b909068f Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Tue, 19 Jan 2016 11:35:14 -0400 Subject: comment --- .../comment_1_b1362c86e162a49717d7e3b0816025ba._comment | 12 ++++++++++++ .../comment_1_d164ad661617d29cb1ceb3d6fc3bb37f._comment | 12 ++++++++++++ 2 files changed, 24 insertions(+) create mode 100644 doc/todo/--batch_for_add/comment_1_b1362c86e162a49717d7e3b0816025ba._comment create mode 100644 doc/todo/--batch_for_find/comment_1_d164ad661617d29cb1ceb3d6fc3bb37f._comment diff --git a/doc/todo/--batch_for_add/comment_1_b1362c86e162a49717d7e3b0816025ba._comment b/doc/todo/--batch_for_add/comment_1_b1362c86e162a49717d7e3b0816025ba._comment new file mode 100644 index 000000000..2e70d8ab2 --- /dev/null +++ b/doc/todo/--batch_for_add/comment_1_b1362c86e162a49717d7e3b0816025ba._comment @@ -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. +"""]] diff --git a/doc/todo/--batch_for_find/comment_1_d164ad661617d29cb1ceb3d6fc3bb37f._comment b/doc/todo/--batch_for_find/comment_1_d164ad661617d29cb1ceb3d6fc3bb37f._comment new file mode 100644 index 000000000..d9a04c220 --- /dev/null +++ b/doc/todo/--batch_for_find/comment_1_d164ad661617d29cb1ceb3d6fc3bb37f._comment @@ -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. +"""]] -- cgit v1.2.3