diff options
author | John Olheiser <john.olheiser@gmail.com> | 2020-03-08 08:34:38 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-03-08 08:34:38 -0500 |
commit | de63ac046ed50e5ca937fb63c50df01dc285425b (patch) | |
tree | 1f34e970348953c093b45e89e6f4b01ce5ba31c9 /modules/setting/git.go | |
parent | b40428a50add017d3977f3069c517050044aeb02 (diff) | |
download | gitea-de63ac046ed50e5ca937fb63c50df01dc285425b.tar.gz gitea-de63ac046ed50e5ca937fb63c50df01dc285425b.zip |
Make PR message on pushes configurable (#10664)
* Make PR message on pushes configurable
* Make fmt
Signed-off-by: jolheiser <john.olheiser@gmail.com>
Diffstat (limited to 'modules/setting/git.go')
-rw-r--r-- | modules/setting/git.go | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/modules/setting/git.go b/modules/setting/git.go index 8c8179cba6..f83758f387 100644 --- a/modules/setting/git.go +++ b/modules/setting/git.go @@ -25,6 +25,7 @@ var ( VerbosePushDelay time.Duration GCArgs []string `ini:"GC_ARGS" delim:" "` EnableAutoGitWireProtocol bool + PullRequestPushMessage bool Timeout struct { Default int Migrate int @@ -42,6 +43,7 @@ var ( VerbosePushDelay: 5 * time.Second, GCArgs: []string{}, EnableAutoGitWireProtocol: true, + PullRequestPushMessage: true, Timeout: struct { Default int Migrate int |