Skip to content

Commit

Permalink
bug fixed branch name for pushupdate (#380)
Browse files Browse the repository at this point in the history
  • Loading branch information
lunny committed Dec 13, 2016
1 parent 1d1c018 commit 73710c0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion models/action.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)
}
Expand Down

0 comments on commit 73710c0

Please sign in to comment.