浏览代码

bug fixed branch name for pushupdate (#380)

tags/v1.0.0
Lunny Xiao 7 年前
父节点
当前提交
73710c00a8
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1
    1
      models/action.go

+ 1
- 1
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)
}

正在加载...
取消
保存