Created attachment 14263 [details]
In a folder rsynctest_dst (for example)
create a folder 'a'
create a folder 'B'
Sync to a destination with --iconv options (I use rsync -a --iconv=UTF8-MAC,UTF-8 --out-format='%i - %n - %M' rsynctest_src/ rsynctest_dst/)
Touch folder 'B'
Dry run a sync with --iconv option (same as before with -n), folder 'a' is reported touched.
Dry run without iconv, folder 'B' is reported touched.
It looks like it syncs correctly because after a sync with --iconv, I have no dir reported touched anymore.
I compiled myself version 3.1.3 for my mac (high sierra).
I tried to fix. So far I'm wondering if it's because "need_unsorted_flist" is 1 when --iconv is used, but dir_list global var only keep sorted list. Not sure...
A fix has been committed to git. Thanks!