1
1
mirror of https://github.com/go-gitea/gitea synced 2025-07-22 18:28:37 +00:00

Support choose email when creating a commit via web UI (more) (#33445)

Follow #33432
This commit is contained in:
wxiaoguang
2025-01-31 10:36:18 +08:00
committed by GitHub
parent b57d9f41d4
commit 5a7b42dac7
18 changed files with 228 additions and 176 deletions

View File

@@ -756,6 +756,7 @@ type CherryPickForm struct {
LastCommit string
Revert bool
Signoff bool
CommitEmail string
}
// Validate validates the fields
@@ -781,6 +782,7 @@ type UploadRepoFileForm struct {
NewBranchName string `binding:"GitRefName;MaxSize(100)"`
Files []string
Signoff bool
CommitEmail string
}
// Validate validates the fields
@@ -815,6 +817,7 @@ type DeleteRepoFileForm struct {
NewBranchName string `binding:"GitRefName;MaxSize(100)"`
LastCommit string
Signoff bool
CommitEmail string
}
// Validate validates the fields