git_ui: Show author name on commits in branch picker (#36812)
See related discussion https://github.com/zed-industries/zed/discussions/36511. <img alt="zed" src="https://github.com/user-attachments/assets/da7fc30d-2504-48f4-a392-7c8d5cd8acb1" /> Release Notes: - Added option to show the author name in a branch picker commit information --------- Co-authored-by: Conrad Irwin <conrad.irwin@gmail.com>
This commit is contained in:
co-authored by
Conrad Irwin
parent
9529cd18d1
commit
46fb521333
@@ -2023,6 +2023,9 @@ To interpret all `.c` files as C++, files called `MyLockFile` as TOML and files
|
||||
"inline_blame": {
|
||||
"enabled": true
|
||||
},
|
||||
"branch_picker": {
|
||||
"show_author_name": true
|
||||
},
|
||||
"hunk_style": "staged_hollow"
|
||||
}
|
||||
}
|
||||
@@ -2154,6 +2157,36 @@ Example:
|
||||
}
|
||||
```
|
||||
|
||||
### Branch Picker
|
||||
|
||||
- Description: Configuration related to the branch picker.
|
||||
- Setting: `branch_picker`
|
||||
- Default:
|
||||
|
||||
```json
|
||||
{
|
||||
"git": {
|
||||
"branch_picker": {
|
||||
"show_author_name": false
|
||||
}
|
||||
}
|
||||
}
|
||||
```
|
||||
|
||||
**Options**
|
||||
|
||||
1. Show the author name in the branch picker:
|
||||
|
||||
```json
|
||||
{
|
||||
"git": {
|
||||
"branch_picker": {
|
||||
"show_author_name": true
|
||||
}
|
||||
}
|
||||
}
|
||||
```
|
||||
|
||||
### Hunk Style
|
||||
|
||||
- Description: What styling we should use for the diff hunks.
|
||||
|
||||
Reference in New Issue
Block a user