Handle case when branch not exist
Handle default branch name in push and branch create handlers Don't panic in this case in case the project has multiple configs
This commit is contained in:
@@ -485,3 +485,4 @@ func (gitea *GiteaTransport) GetRecentCommits(org, repo, branch string, commitNo
|
||||
|
||||
return commits.Payload, nil
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user