lfsapi: enable credential caching by default
This commit is contained in:
parent
25642cc65f
commit
637ff73fa6
@ -60,7 +60,7 @@ be scoped inside the configuration for a remote.
|
||||
* `lfs.cachecredentials`
|
||||
|
||||
Enables in-memory SSH and Git Credential caching for a single 'git lfs'
|
||||
command. Default: false. This will default to true in v2.1.0.
|
||||
command. Default: enabled.
|
||||
|
||||
* `lfs.storage`
|
||||
|
||||
|
@ -78,7 +78,7 @@ func NewClient(osEnv Env, gitEnv Env) (*Client, error) {
|
||||
}
|
||||
|
||||
var sshResolver SSHResolver = &sshAuthClient{os: osEnv}
|
||||
if gitEnv.Bool("lfs.cachecredentials", false) {
|
||||
if gitEnv.Bool("lfs.cachecredentials", true) {
|
||||
sshResolver = withSSHCache(sshResolver)
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user