mirror of
https://github.com/zed-industries/zed.git
synced 2026-07-10 00:13:29 +00:00
Disable commit title width limit by default (#58960)
This is a bit too opinionated to be turning on for everyone by default. We could consider bringing back a default-enabled setting with a less intrusive UI. Self-Review Checklist: - [x] I've reviewed my own diff for quality, security, and reliability - [x] Unsafe blocks (if any) have justifying comments - [x] The content adheres to Zed's UI standards ([UX/UI](https://github.com/zed-industries/zed/blob/main/CONTRIBUTING.md#uiux-checklist) and [icon](https://github.com/zed-industries/zed/blob/main/crates/icons/README.md) guidelines) - [x] Tests cover the new/changed behavior - [x] Performance impact has been considered and is acceptable Release Notes: - Warnings about the lengths of commit message titles are now disabled by default.
This commit is contained in:
parent
11115a967f
commit
eb68bbd35c
2 changed files with 3 additions and 3 deletions
|
|
@ -998,8 +998,8 @@
|
|||
// Maximum length of the commit message title before a warning is shown.
|
||||
// Set to 0 to disable.
|
||||
//
|
||||
// Default: 72
|
||||
"commit_title_max_length": 72,
|
||||
// Default: 0
|
||||
"commit_title_max_length": 0,
|
||||
},
|
||||
"message_editor": {
|
||||
// Whether to automatically replace emoji shortcodes with emoji characters.
|
||||
|
|
|
|||
|
|
@ -709,7 +709,7 @@ pub struct GitPanelSettingsContent {
|
|||
/// Maximum length of the commit message title before a warning is shown.
|
||||
/// Set to 0 to disable.
|
||||
///
|
||||
/// Default: 72
|
||||
/// Default: 0
|
||||
pub commit_title_max_length: Option<usize>,
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue