File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -379,7 +379,7 @@ func (self *CommitFilesController) openDiffTool(node *filetree.CommitFileNode) e
379
379
380
380
func (self * CommitFilesController ) toggleForPatch (selectedNodes []* filetree.CommitFileNode ) error {
381
381
if self .c .AppState .DiffContextSize == 0 {
382
- return fmt .Errorf (self .c .Tr .Actions .NotEnoughContextToStage ,
382
+ return fmt .Errorf (self .c .Tr .Actions .NotEnoughContextForCustomPatch ,
383
383
keybindings .Label (self .c .UserConfig ().Keybinding .Universal .IncreaseContextInDiffView ))
384
384
}
385
385
@@ -475,7 +475,7 @@ func (self *CommitFilesController) enterCommitFile(node *filetree.CommitFileNode
475
475
}
476
476
477
477
if self .c .AppState .DiffContextSize == 0 {
478
- return fmt .Errorf (self .c .Tr .Actions .NotEnoughContextToStage ,
478
+ return fmt .Errorf (self .c .Tr .Actions .NotEnoughContextForCustomPatch ,
479
479
keybindings .Label (self .c .UserConfig ().Keybinding .Universal .IncreaseContextInDiffView ))
480
480
}
481
481
You can’t perform that action at this time.
0 commit comments