find: Support --print0

It would be nice if command-specific options were supported. The first
difficulty is that which command is being called is not known until after
getopt; but that could be worked around by finding the first non-dashed
parameter. Storing the settings without putting them in the annex monad is
the next difficulty; it could perhaps be handled by making the seek stage
pass applicable settings into the start stage (and from there on to perform
as needed). But that still leaves a problem, what data type to use to
represent the options between getopt and seek?
This commit is contained in:
Joey Hess 2011-11-22 14:06:31 -04:00
parent fc2f0e8b1a
commit 7f7ae7a3b1
6 changed files with 17 additions and 2 deletions

1
debian/changelog vendored
View file

@ -19,6 +19,7 @@ git-annex (3.20111112) UNRELEASED; urgency=low
* migrate: Don't fall over a stale temp file.
* Avoid excessive escaping for rsync special remotes that are not accessed
over ssh.
* find: Support --print0
-- Joey Hess <joeyh@debian.org> Sat, 12 Nov 2011 14:50:21 -0400