V0.9.5 "excluded directories" bug

The bug was described in

https://kopia.discourse.group/t/v0-9-3-backup-error-skipped-folder/690/5

But with Kopia’s new logging in v0.9.5 it is easy to explain the bug. For some reason Kopia ignores the same folder twice. And the UI simply counts also “duplicate ignores”.

The UI shows “excluded directories: 4” and the log has output

ignored directory path:"nobackup" dur:0s
ignored directory path:"nobackup" dur:0s
ignored directory path:"gapps" dur:0s
ignored directory path:"gapps" dur:0s

I added one more ignore …

The UI shows “excluded directories: 6” and the log has output

ignored directory path:"nobackup2" dur:0s
ignored directory path:"nobackup2" dur:0s
ignored directory path:"nobackup" dur:0s
ignored directory path:"nobackup" dur:0s
ignored directory path:"gapps" dur:0s
ignored directory path:"gapps" dur:0s

Thanks for the report. This PR has a fix: