723 | @@ -650,6 +724,10 @@ fn main() -> ExitCode {
724 | };
725 |
726 | let git_root = get_git_root();
727 | + let commit_range = commit_range();
728 | + let commit_log = check_output(git().args(["log", "--no-merges", "--oneline", &commit_range]))
729 | + .expect("git error");
nit:
In commit_range there is also a .expect which has the text "git command failed"
it would make sense to have the same text for consistency, but feel free to ignore
I think it is unlikely for git log to fail, but since RUST_BACKTRACE=1 is set, the error should be self-explanatory anyway. Possibly expect could be replaced by unwrap?
yea should be fine just thought I'd point it out, I think it is fine as is
thx, made the error string equal for both calls