lfsapi: enable credential caching by default

This commit is contained in:
Taylor Blau 2017-08-14 10:50:52 -06:00
parent 25642cc65f
commit 637ff73fa6
2 changed files with 2 additions and 2 deletions

@ -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)
}