git-lfs/lfsapi
brian m. carlson 02c32f549b
lfsapi: use read-only Git configuration object in tests
Portions of this test call into the HTTP code, which eventually tries to
write an lfs.*.access = basic setting into .git/config.  Unfortunately,
the .git/config it tries to use is that of the developer's git-lfs
repository, which leads to a large number of substantially similar and
mostly useless entries.

To keep the developer's repository tidy and the test environment
isolated, use a read-only Git configuration object in the tests.  As a
result, this code path will fail silently.  This is good for tests, and
should not impact real use negatively, because an actual client will
simply fall back to determining this automatically.
2018-10-26 15:27:54 +00:00
..
auth_test.go lfsapi: use read-only Git configuration object in tests 2018-10-26 15:27:54 +00:00
auth.go creds: Add new NetrcCredentialHelper 2018-10-08 16:18:06 -07:00
body.go lfsapi: Ensure requests include Content-Length header if necessary 2017-01-25 08:59:11 -07:00
client.go lfsapi: extract new lfshttp package 2018-09-11 14:51:29 -07:00
endpoint_finder_test.go lfsapi: rename Access.GetMode()->Mode() 2018-10-02 16:35:54 -07:00
endpoint_finder.go lfsapi: rename Access.GetMode()->Mode() 2018-10-02 16:35:54 -07:00
lfsapi.go creds: Add new NetrcCredentialHelper 2018-10-08 16:18:06 -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 lfsapi: Add DoWithAuthNoRetry() 2018-10-02 16:47:10 -07:00
ntlm.go Move credential handling to its own package 2018-09-24 15:09:22 +00:00
response_test.go lfsapi: introduce interface for initializing a Client 2017-10-25 15:33:20 -06:00