reset: convert to use parse_pathspec