-
-
Notifications
You must be signed in to change notification settings - Fork 263
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Empty proxies can disable the proxy; cleanup test fixture, let it hav…
…e its own
- Loading branch information
Showing
4 changed files
with
45 additions
and
28 deletions.
There are no files selected for viewing
3 changes: 3 additions & 0 deletions
3
git-repository/tests/fixtures/generated-archives/make_config_repos.tar.xz
Git LFS file not shown
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
set -eu -o pipefail | ||
|
||
git init http-config | ||
(cd http-config | ||
git config http.extraHeader "ExtraHeader: value1" | ||
git config --add http.extraHeader "" | ||
git config --add http.extraHeader "ExtraHeader: value2" | ||
git config --add http.extraHeader "ExtraHeader: value3" | ||
git config http.followRedirects initial | ||
git config http.lowSpeedLimit 5k | ||
git config http.lowSpeedTime 10 | ||
git config http.postBuffer 8k | ||
git config http.proxy localhost:9090 | ||
git config http.proxyAuthMethod anyauth | ||
git config http.userAgent agentJustForHttp | ||
) | ||
|
||
git init http-config-empty-proxy | ||
(cd http-config-empty-proxy | ||
git config http.proxy localhost:9090 | ||
git config --add http.proxy "" # a value override disabling it later | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters