combine-diff: move show_log_first logic/action out of paths scanning