Convert struct diff_options to use struct pathspec