I seem to be having some trouble recursively adding a directory with a sub directory that I don’t have permission to read. The add fails and stops when it gets to that directory. Seems like it should probably be a warning. I tried --ignore=/that/directory but either I’ve got something wrong with the argument to --ignore or ignore only ignores files and not directories.
--ignore needs to be relative to the root directory you’re adding. We could add a
--ignore-errors flag, or something like that, but doing this by default could be a bit dangerous (errors can easily be missed when adding lots of files).