mirror of
https://github.com/jesseduffield/lazygit.git
synced 2025-05-11 20:36:03 +02:00
feat(config): change git.commit.verbose
to accept "default"
This commit is contained in:
parent
1cf24a02d3
commit
965f7bfcb2
4 changed files with 66 additions and 22 deletions
|
@ -74,9 +74,12 @@ func (self *CommitCommands) signoffFlag() string {
|
|||
}
|
||||
|
||||
func (self *CommitCommands) verboseFlag() string {
|
||||
if self.UserConfig.Git.Commit.Verbose {
|
||||
switch self.config.UserConfig.Git.Commit.Verbose {
|
||||
case "always":
|
||||
return " --verbose"
|
||||
} else {
|
||||
case "never":
|
||||
return " --no-verbose"
|
||||
default:
|
||||
return ""
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue