enhancement: add signoff option in commit form (#14516)

Signed-off-by: a1012112796 <1012112796@qq.com>
This commit is contained in:
a1012112796 authored and GitHub committed 2021-01-29 16:57:45 +08:00
1 parent f761c82c94
commit f19da14c34
11 files changed
+51 -8

No files matched your search

+2
View File
@@ -17,6 +17,8 @@ type FileOptions struct {
Author Identity `json:"author"`
Committer Identity `json:"committer"`
Dates CommitDateOptions `json:"dates"`
// Add a Signed-off-by trailer by the committer at the end of the commit log message.
Signoff bool `json:"signoff"`
}
// CreateFileOptions options for creating files