We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8ba4526 commit 90c1c16Copy full SHA for 90c1c16
src/github.rs
@@ -115,7 +115,7 @@ impl<'a> ToUrl for SingleCommitUrl<'a> {
115
// "origin/master" is set as `sha` when there is no `--end=` definition
116
// specified on the command line. We define the GitHub master branch
117
// HEAD commit as the end commit in this case
118
- if &self.sha == &"origin/master" {
+ if self.sha == "origin/master" {
119
format!(
120
"https://api.github.com/repos/{OWNER}/{REPO}/commits/HEAD",
121
OWNER = OWNER,
0 commit comments