We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b0a3ef7 commit 2777d63Copy full SHA for 2777d63
modules/git/git.go
@@ -231,7 +231,7 @@ func InitOnceWithSync(ctx context.Context) (err error) {
231
232
// when git works with gnupg (commit signing), there should be a stable home for gnupg commands
233
if _, ok := os.LookupEnv("GNUPGHOME"); !ok {
234
- _ = os.Setenv("GNUPGHOME", HomeDir())
+ _ = os.Setenv("GNUPGHOME", filepath.Join(HomeDir(), ".gnupg"))
235
}
236
237
// Since git wire protocol has been released from git v2.18
0 commit comments