get branch commit belongs to #142
No reviewers
Labels
No Label
in progress
kind/bug
kind/deployment
kind/docs
kind/enhancement
kind/feature
kind/lint
kind/proposal
kind/question
kind/security
kind/testing
kind/translation
kind/ui
lgtm/done
lgtm/need 1
lgtm/need 2
priority/critical
priority/low
priority/maybe
priority/medium
refactor
reviewed/duplicate
reviewed/invalid
reviewed/wontfix
status/blocked
status/needs-feedback
status/wip
No Milestone
No Assignees
1 Participants
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: gitea/git#142
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "adelowo/master"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Author: @adelowo
This allows us to get the branch a commit belongs to.
If commit
oooo
is onmaster
anda_feature_branch
, it defaults tomaster
as the result. I have gone through GitHub's implementation and it is the same. Here is an example,7cb1d8296d
exists onmaster
andrelease/v1.7
but it defaults to showingmaster
Needed to fix https://github.com/go-gitea/gitea/issues/5473
Author: @codecov-io
Codecov Report
10.94% <ø> (ø)
25.28% <50%> (+0.57%)
Continue to review full report at Codecov.
Author: @lunny
Why not we give more than one branch? Maybe it's better than github and almost have the same performance.