test/test-extra-header.sh: run git config with --local
This commit is contained in:
parent
b2bd164b32
commit
4e1f75d6a5
@ -73,10 +73,10 @@ begin_test "http.<url>.extraHeader with authorization (casing)"
|
||||
pass="pass"
|
||||
auth="Basic $(echo -n $user:$pass | base64)"
|
||||
|
||||
git config --add lfs.access basic
|
||||
git config --local --add lfs.access basic
|
||||
# N.B.: "AUTHORIZATION" is not the correct casing, and is therefore the
|
||||
# subject of this test. See lfsapi.Client.extraHeaders() for more.
|
||||
git config --add "http.extraHeader" "AUTHORIZATION: $auth"
|
||||
git config --local --add "http.extraHeader" "AUTHORIZATION: $auth"
|
||||
|
||||
git lfs track "*.dat"
|
||||
printf "contents" > a.dat
|
||||
|
Loading…
Reference in New Issue
Block a user