Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix git commit retrieval via GitHub API when --end commit SHA is not specified #75

Merged
merged 5 commits into from
Apr 13, 2020

Conversation

chrissimpkins
Copy link
Member

Fixes #74

Also updates project dependencies to current release versions and adds changelog updates for a v0.4.1 release.

src/github.rs Outdated
// HEAD commit as the end commit in this case
if self.sha == "origin/master" {
format!(
"https://api.github.com/repos/{OWNER}/{REPO}/commits/HEAD",
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

would commits/master here work just as well?

if so, I think that would be clearer. (I'll be honest, I'm not clear on what HEAD is supposed to denote when querying github...)

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pushed this change in be54918

@spastorino spastorino merged commit a5f5034 into rust-lang:master Apr 13, 2020
@chrissimpkins
Copy link
Member Author

Ty!

@chrissimpkins chrissimpkins deleted the fix-default-end branch April 13, 2020 19:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Missing --end definition with SHA testing leads to error under --access=github approach
3 participants