Enable diff stats in the git panel by default (#51215) (cherry-pick to preview) (#51218)
zed-zippy[bot]
and
Joseph T. Lyons
created
Cherry-pick of #51215 to preview
----
Closes #ISSUE
Before you mark this PR as ready for review, make sure that you have:
- [ ] Added a solid test coverage and/or screenshots from doing manual
testing
- [X] Done a self-review taking into account security and performance
aspects
- [ ] Aligned any UI changes with the [UI
checklist](https://github.com/zed-industries/zed/blob/main/CONTRIBUTING.md#uiux-checklist)
Release Notes:
- Enabled `diff_stats` in the git panel by default.
Co-authored-by: Joseph T. Lyons <JosephTLyons@gmail.com>
@@ -917,8 +917,8 @@
},
// Whether to show the addition/deletion change count next to each file in the Git panel.
//
- // Default: false- "diff_stats": false,
+ // Default: true
+ "diff_stats": true,
},
"message_editor": {
// Whether to automatically replace emoji shortcodes with emoji characters.
@@ -622,7 +622,7 @@ pub struct GitPanelSettingsContent {
/// Whether to show the addition/deletion change count next to each file in the Git panel.
///
- /// Default: false
+ /// Default: true
pub diff_stats: Option<bool>,
}