merge-recursive: do not use on-file index when not needed.