Closed ilessiivi closed 2 years ago
While I agree in theory, I notice that addFiles
does not do deduplication: The same file could be queued twice. In that context, don't you think that removing all duplicate occurrences could also be an adequate behavior?
Added the necessary check for the option that allows duplicates and squashed the commits.
Stopping the loop might have a minor performance benefit.