mirror of
https://github.com/jesseduffield/lazygit.git
synced 2025-01-26 05:37:18 +02:00
Fixed whitespace format issue
This commit is contained in:
parent
52d5c3beeb
commit
ccbd2c924b
@ -434,7 +434,7 @@ func (gui *Gui) handleRenameBranch(g *gocui.Gui, v *gocui.View) error {
|
|||||||
|
|
||||||
promptForNewName := func() error {
|
promptForNewName := func() error {
|
||||||
return gui.prompt(promptOpts{
|
return gui.prompt(promptOpts{
|
||||||
title: gui.Tr.NewBranchNamePrompt + " " + branch.Name + ":",
|
title: gui.Tr.NewBranchNamePrompt + " " + branch.Name + ":",
|
||||||
initialContent: branch.Name,
|
initialContent: branch.Name,
|
||||||
handleConfirm: func(newBranchName string) error {
|
handleConfirm: func(newBranchName string) error {
|
||||||
if err := gui.GitCommand.RenameBranch(branch.Name, newBranchName); err != nil {
|
if err := gui.GitCommand.RenameBranch(branch.Name, newBranchName); err != nil {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user