diff options
author | Lunny Xiao <xiaolunwen@gmail.com> | 2016-12-13 15:19:42 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-12-13 15:19:42 +0800 |
commit | 73710c00a838c0e743b955015958c0c678914290 (patch) | |
tree | fb41e8ee3b325e3ea4b361914bc35c075a925efe /models/action.go | |
parent | 1d1c01875dc4f07b204a40aa662aa1782bf000fd (diff) | |
download | gitea-73710c00a838c0e743b955015958c0c678914290.tar.gz gitea-73710c00a838c0e743b955015958c0c678914290.zip |
bug fixed branch name for pushupdate (#380)
Diffstat (limited to 'models/action.go')
-rw-r--r-- | models/action.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/models/action.go b/models/action.go index 9c79dc5df0..e9a0fcdd11 100644 --- a/models/action.go +++ b/models/action.go @@ -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) } |