Skip to content

Commit

Permalink
Disable gc.autoDetach by default (#4772)
Browse files Browse the repository at this point in the history
Signed-off-by: Yoshiki Fujikane <ffjlabo@gmail.com>
  • Loading branch information
ffjlabo committed Feb 2, 2024
1 parent ea9a453 commit 5cca5e7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/git/client.go
Expand Up @@ -107,7 +107,7 @@ func NewClient(opts ...Option) (Client, error) {
c := &client{
username: defaultUsername,
email: defaultEmail,
gcAutoDetach: true, // Enable this by default. See issue #4760, discussion #4758.
gcAutoDetach: false, // Disable this by default. See issue #4760, discussion #4758.
gitPath: gitPath,
cacheDir: cacheDir,
repoLocks: make(map[string]*sync.Mutex),
Expand Down

0 comments on commit 5cca5e7

Please sign in to comment.