mirror of
https://github.com/go-gitea/gitea.git
synced 2024-12-27 07:56:13 +00:00
bug fixed branch name for pushupdate (#380)
This commit is contained in:
parent
1d1c01875d
commit
73710c00a8
@ -562,7 +562,7 @@ func CommitRepoAction(opts CommitRepoActionOptions) error {
|
|||||||
if err != nil {
|
if err != nil {
|
||||||
log.Error(4, "OpenRepository[%s]: %v", repo.RepoPath(), err)
|
log.Error(4, "OpenRepository[%s]: %v", repo.RepoPath(), err)
|
||||||
}
|
}
|
||||||
shaSum, err = gitRepo.GetBranchCommitID(opts.RefFullName)
|
shaSum, err = gitRepo.GetBranchCommitID(refName)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
log.Error(4, "GetBranchCommitID[%s]: %v", opts.RefFullName, err)
|
log.Error(4, "GetBranchCommitID[%s]: %v", opts.RefFullName, err)
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user