mirror of
https://github.com/jesseduffield/lazygit.git
synced 2025-05-11 12:25:47 +02:00
Add user config gui.commitAuthorFormat
This commit is contained in:
parent
629b7ba1b8
commit
57f9493770
5 changed files with 32 additions and 2 deletions
|
@ -7,6 +7,11 @@ import (
|
|||
)
|
||||
|
||||
func (config *UserConfig) Validate() error {
|
||||
if err := validateEnum("gui.commitAuthorFormat", config.Gui.CommitAuthorFormat,
|
||||
[]string{"auto", "short", "full"}); err != nil {
|
||||
return err
|
||||
}
|
||||
|
||||
if err := validateEnum("gui.statusPanelView", config.Gui.StatusPanelView,
|
||||
[]string{"dashboard", "allBranchesLog"}); err != nil {
|
||||
return err
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue