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

Allow Git ref for /repos/{owner}/{repo}/git/commits/{sha} #11367

Closed
wants to merge 2 commits into from

Conversation

CirnoT
Copy link
Contributor

@CirnoT CirnoT commented May 11, 2020

As discussed on Discord, this allows both ref and SHA to be passed to both API endpoints, essentially making them identical. This makes drone/go-scm#50 unnecessary and reverts breaking change introduced by #10915

There is also an alternative PR #11368

Closes #11368

@lafriks
Copy link
Member

lafriks commented May 11, 2020

I think #11368 is way to go

@GiteaBot GiteaBot added the lgtm/need 2 This PR needs two approvals by maintainers to be considered for merging. label May 11, 2020
@lafriks
Copy link
Member

lafriks commented May 11, 2020

Closing in favor of #11368

@lafriks lafriks closed this May 11, 2020
@CirnoT CirnoT deleted the patch-7 branch May 11, 2020 20:02
@go-gitea go-gitea locked and limited conversation to collaborators Nov 24, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
lgtm/need 2 This PR needs two approvals by maintainers to be considered for merging.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants