Skip to content

Commit

Permalink
fix: remove unnecessary reference
Browse files Browse the repository at this point in the history
  • Loading branch information
rarescosma committed Oct 5, 2024
1 parent 06f96c2 commit 90e0202
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion git-cliff-core/src/repo.rs
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ impl Repository {
revwalk.push_range(range)?;
} else {
// when we get a single sha as our "range" => start at root.
revwalk.push(Oid::from_str(&range)?)?;
revwalk.push(Oid::from_str(range)?)?;
}
} else {
revwalk.push_head()?;
Expand Down

0 comments on commit 90e0202

Please sign in to comment.