Skip to content

armgit / zed

Public Imported from GitHub
0

Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.

Disable commit title width limit by default (#58960)

Cole Millereb68bbd35ce5
diff --git a/assets/settings/default.json b/assets/settings/default.json
index 011766943c0..7c568873be4 100644
--- a/assets/settings/default.json
+++ b/assets/settings/default.json
@@ -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.
diff --git a/crates/settings_content/src/settings_content.rs b/crates/settings_content/src/settings_content.rs
index ec1ab6f08bd..9ac8b4b14fe 100644
--- a/crates/settings_content/src/settings_content.rs
+++ b/crates/settings_content/src/settings_content.rs
@@ -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>,
}