summaryrefslogtreecommitdiffstats
path: root/models
diff options
context:
space:
mode:
authorViktor Suprun <popsul1993@gmail.com>2022-02-08 17:15:04 +1100
committerGitHub <noreply@github.com>2022-02-08 14:15:04 +0800
commit4d939845d20d377e06bce5b02667ff21f69c3beb (patch)
tree3cfc0c54b5930a71c404961c26e7ae9e76060ffb /models
parent60f203385e6f27fae47f3cc8c5d71309f4fd88dc (diff)
downloadgitea-4d939845d20d377e06bce5b02667ff21f69c3beb.tar.gz
gitea-4d939845d20d377e06bce5b02667ff21f69c3beb.zip
Added auto-save whitespace behavior if it changed manually (#15566)
Diffstat (limited to 'models')
-rw-r--r--models/user/setting_keys.go4
1 files changed, 3 insertions, 1 deletions
diff --git a/models/user/setting_keys.go b/models/user/setting_keys.go
index 458b78e357..109b5dd916 100644
--- a/models/user/setting_keys.go
+++ b/models/user/setting_keys.go
@@ -5,6 +5,8 @@
package user
const (
- // SettingsKeyHiddenCommentTypes is the settings key for hidden comment types
+ // SettingsKeyHiddenCommentTypes is the setting key for hidden comment types
SettingsKeyHiddenCommentTypes = "issue.hidden_comment_types"
+ // SettingsKeyDiffWhitespaceBehavior is the setting key for whitespace behavior of diff
+ SettingsKeyDiffWhitespaceBehavior = "diff.whitespace_behaviour"
)