mirror of
				https://github.com/jesseduffield/lazygit.git
				synced 2025-10-30 23:57:43 +02:00 
			
		
		
		
	move fetch keybinding to files view to make way for branch-specific fetched
This commit is contained in:
		| @@ -219,6 +219,12 @@ func (gui *Gui) GetKeybindings() []*Binding { | ||||
| 			Handler:     gui.handleSwitchToStagingPanel, | ||||
| 			Description: gui.Tr.SLocalize("StageLines"), | ||||
| 			KeyReadable: "enter", | ||||
| 		}, { | ||||
| 			ViewName:    "files", | ||||
| 			Key:         'f', | ||||
| 			Modifier:    gocui.ModNone, | ||||
| 			Handler:     gui.handleGitFetch, | ||||
| 			Description: gui.Tr.SLocalize("fetch"), | ||||
| 		}, { | ||||
| 			ViewName: "main", | ||||
| 			Key:      gocui.KeyEsc, | ||||
| @@ -304,12 +310,6 @@ func (gui *Gui) GetKeybindings() []*Binding { | ||||
| 			Modifier:    gocui.ModNone, | ||||
| 			Handler:     gui.handleForceCheckout, | ||||
| 			Description: gui.Tr.SLocalize("forceCheckout"), | ||||
| 		}, { | ||||
| 			ViewName:    "branches", | ||||
| 			Key:         'f', | ||||
| 			Modifier:    gocui.ModNone, | ||||
| 			Handler:     gui.handleGitFetch, | ||||
| 			Description: gui.Tr.SLocalize("fetch"), | ||||
| 		}, { | ||||
| 			ViewName:    "branches", | ||||
| 			Key:         'n', | ||||
|   | ||||
| @@ -431,7 +431,7 @@ func addEnglish(i18nObject *i18n.Bundle) error { | ||||
| 			Other: `No automatic git fetch`, | ||||
| 		}, &i18n.Message{ | ||||
| 			ID:    "NoAutomaticGitFetchBody", | ||||
| 			Other: `Lazygit can't use "git fetch" in a private repo use f in the branches panel to run "git fetch" manually`, | ||||
| 			Other: `Lazygit can't use "git fetch" in a private repo; use 'f' in the files panel to run "git fetch" manually`, | ||||
| 		}, &i18n.Message{ | ||||
| 			ID:    "StageLines", | ||||
| 			Other: `stage individual hunks/lines`, | ||||
|   | ||||
		Reference in New Issue
	
	Block a user