git-lfs/lfsapi
brian m. carlson 45954c142f lfsapi: learn core.sshCommand
We already know how to handle GIT_SSH_COMMAND and its appurtenant shell
parsing requirements.  However, Git also knows the ability to specify an
equivalent command in the config file as core.sshCommand, which allows
for greater flexibility.  Teach git-lfs how to handle core.sshCommand as
well.  Add tests that we process it through the shell correctly and that
GIT_SSH_COMMAND overrides it correctly.

Note that when calling sshParseShellCommand, we specify the default SSH
command directly inline as the fallback command to avoid needing an
additional check for ssh being the empty string in case core.sshCommand
is not set.
2018-09-11 21:24:00 +00:00
..
auth_test.go Tidy files with Go 1.11's gofmt 2018-08-31 16:59:40 +00:00
auth.go Merge pull request #3028 from git-lfs/lfsapi-authenticate-redirects 2018-05-28 18:35:13 -07:00
body.go lfsapi: Ensure requests include Content-Length header if necessary 2017-01-25 08:59:11 -07:00
certs_darwin.go lfsapi: add custom ssl cert support 2016-12-20 11:22:20 -07:00
certs_freebsd.go lfsapi: add custom ssl cert support 2016-12-20 11:22:20 -07:00
certs_linux.go lfsapi: add custom ssl cert support 2016-12-20 11:22:20 -07:00
certs_openbsd.go lfsapi: add custom ssl cert support 2016-12-20 11:22:20 -07:00
certs_test.go lfsapi: add *git.Configuration to Client 2017-10-25 15:38:13 -06:00
certs_windows.go lfsapi: add custom ssl cert support 2016-12-20 11:22:20 -07:00
certs.go lfsapi: introduce interface for initializing a Client 2017-10-25 15:33:20 -06:00
client_test.go lfsapi/client_test.go: test cross-host authenticated redirect 2018-05-28 18:14:09 -07:00
client.go Merge branch 'master' into sh-add-ssh-retries 2018-06-28 13:04:59 -05:00
creds_test.go lfsapi: replace old credential cache and CredentialHelpers types 2017-10-26 18:34:33 -06:00
creds.go Add getValue askpass function 2018-07-16 15:07:27 -07:00
endpoint_finder_test.go lfsapi: handle SSH hostnames and aliases without users 2018-09-06 14:52:56 +00:00
endpoint_finder.go lfsapi: handle SSH hostnames and aliases without users 2018-09-06 14:52:56 +00:00
endpoint_test.go move endpoint pkg to lfsapi 2016-12-19 11:45:22 -07:00
endpoint.go Treat [host:port]:path URLs correctly 2018-09-05 14:32:51 +02:00
errors.go lfsapi/errors.go: create a NewUnprocessableEntityError when appropriate 2018-07-31 13:23:16 -05:00
lfsapi_nix.go lfsapi: teach auth about netrc 2016-12-19 14:53:18 -07:00
lfsapi_windows.go lfsapi: teach auth about netrc 2016-12-19 14:53:18 -07:00
lfsapi.go Merge branch 'master' into sh-add-ssh-retries 2018-06-28 13:06:37 -05:00
netrc_test.go *: use patched version of bgetnry/go-netrc 2018-05-25 12:42:02 -07:00
netrc.go *: use patched version of bgetnry/go-netrc 2018-05-25 12:42:02 -07:00
ntlm_auth_nix.go Use SSPI ntlm authentication on windows: 2018-02-27 17:02:57 +01:00
ntlm_auth_test_nix.go Use SSPI ntlm authentication on windows: 2018-02-27 17:02:57 +01:00
ntlm_auth_windows.go Use SSPI ntlm authentication on windows: 2018-02-27 17:02:57 +01:00
ntlm_test.go Use SSPI ntlm authentication on windows: 2018-02-27 17:02:57 +01:00
ntlm.go lfsapi: teach do() and friends 'remote' 2018-05-25 09:24:15 -07:00
proxy_test.go Fix proxy unit tests. 2018-07-20 16:10:49 -07:00
proxy.go lfsapi: prefer proxying from gitconfig before environment 2018-06-13 12:30:10 -05:00
response_test.go lfsapi: introduce interface for initializing a Client 2017-10-25 15:33:20 -06:00
retries_test.go lfsapi: introduce interface for initializing a Client 2017-10-25 15:33:20 -06:00
retries.go lfsapi: make 'retries' the number of additional requests 2017-09-07 11:04:48 -04:00
ssh_test.go lfsapi: learn core.sshCommand 2018-09-11 21:24:00 +00:00
ssh.go lfsapi: learn core.sshCommand 2018-09-11 21:24:00 +00:00
stats_test.go lfsapi: introduce interface for initializing a Client 2017-10-25 15:33:20 -06:00
stats.go lfsapi: note alignment issue in *httpTransfer 2018-02-26 17:05:54 -08:00
verbose_test.go lfsapi: introduce interface for initializing a Client 2017-10-25 15:33:20 -06:00
verbose.go dont rely on res 2017-04-27 17:03:17 -06:00