Skip to content

Commit 96934d5

Browse files
committed
Improve the error message when users have gpg signing turned on
It is not obvious that you can get rid of the error by using the overrideGpg config, so tell them.
1 parent f05f81d commit 96934d5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pkg/i18n/english.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1438,7 +1438,7 @@ func EnglishTranslationSet() *TranslationSet {
14381438
DiscardOldFileChangeTooltip: "Discard this commit's changes to this file. This runs an interactive rebase in the background, so you may get a merge conflict if a later commit also changes this file.",
14391439
DiscardFileChangesTitle: "Discard file changes",
14401440
DiscardFileChangesPrompt: "Are you sure you want to remove changes to the selected file(s) from this commit?\n\nThis action will start a rebase, reverting these file changes. Be aware that if subsequent commits depend on these changes, you may need to resolve conflicts.\nNote: This will also reset any active custom patches.",
1441-
DisabledForGPG: "Feature not available for users using GPG",
1441+
DisabledForGPG: "Feature not available for users using GPG.\n\nIf you are using a passphrase agent (e.g. gpg-agent) so that you don't have to type your passphrase when signing, you can enable this feature by adding\n\ngit:\n overrideGpg: true\n\nto your lazygit config file.",
14421442
CreateRepo: "Not in a git repository. Create a new git repository? (y/n): ",
14431443
BareRepo: "You've attempted to open Lazygit in a bare repo but Lazygit does not yet support bare repos. Open most recent repo? (y/n) ",
14441444
InitialBranch: "Branch name? (leave empty for git's default): ",

0 commit comments

Comments
 (0)