Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.Sign up
[WIP] tool: Add option --retry-all-errors to retry on any error #5185
bagder left a comment
Do you think maybe this option should rather be made so that it can be used instead of
Have you tried to write up a test case for this as well?
I think it should rely on --retry since we have another --retry that does that and I like the consistency. Otherwise we'd need a way to specify the number of retries so instead of --retry 5 --retry-all-errors it would be --retry-all-errors 5 which I think is harder to understand.
The warning only shows once per transfer if a retry occurs due to the option. I think there will be a greater risk of user error with the option.
For my use-case(#4656), this PR works nicely:
I'm very looking forward to the new release containing this. :)