Browse Source

bug fixed branch name for pushupdate (#380)

for-closed-social
Lunny Xiao 8 years ago
committed by GitHub
parent
commit
73710c00a8
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      models/action.go

+ 1
- 1
models/action.go View File

@ -562,7 +562,7 @@ func CommitRepoAction(opts CommitRepoActionOptions) error {
if err != nil {
log.Error(4, "OpenRepository[%s]: %v", repo.RepoPath(), err)
}
shaSum, err = gitRepo.GetBranchCommitID(opts.RefFullName)
shaSum, err = gitRepo.GetBranchCommitID(refName)
if err != nil {
log.Error(4, "GetBranchCommitID[%s]: %v", opts.RefFullName, err)
}

Loading…
Cancel
Save