commit: convert to use parse_pathspec