Explorar el Código

bug fixed branch name for pushupdate (#380)

tags/v1.0.0
Lunny Xiao hace 7 años
padre
commit
73710c00a8
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1
    1
      models/action.go

+ 1
- 1
models/action.go Ver fichero

@@ -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)
}

Cargando…
Cancelar
Guardar