diff options
| author | Junio C Hamano <gitster@pobox.com> | 2011-12-19 16:05:16 -0800 |
|---|---|---|
| committer | Junio C Hamano <gitster@pobox.com> | 2011-12-19 16:05:16 -0800 |
| commit | 367d20ec6b9e8e297537f665fb528346bd0aff27 (patch) | |
| tree | bce97747bf55c8b3adffa0a058984aba5ea3225f /t/test-lib.sh | |
| parent | d16520499d2652b5b59dfb25f9cf2d56a4c6913a (diff) | |
| parent | 861444f6d702b15713d0875ce9dc5aff64885fba (diff) | |
| download | git-367d20ec6b9e8e297537f665fb528346bd0aff27.tar.gz | |
Merge branch 'jk/credentials'
* jk/credentials:
t: add test harness for external credential helpers
credentials: add "store" helper
strbuf: add strbuf_add*_urlencode
Makefile: unix sockets may not available on some platforms
credentials: add "cache" helper
docs: end-user documentation for the credential subsystem
credential: make relevance of http path configurable
credential: add credential.*.username
credential: apply helper config
http: use credential API to get passwords
credential: add function for parsing url components
introduce credentials API
t5550: fix typo
test-lib: add test_config_global variant
Conflicts:
strbuf.c
Diffstat (limited to 't/test-lib.sh')
| -rw-r--r-- | t/test-lib.sh | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/t/test-lib.sh b/t/test-lib.sh index bdd9513b84..160479b81e 100644 --- a/t/test-lib.sh +++ b/t/test-lib.sh @@ -379,6 +379,11 @@ test_config () { git config "$@" } +test_config_global () { + test_when_finished "test_unconfig --global '$1'" && + git config --global "$@" +} + # Use test_set_prereq to tell that a particular prerequisite is available. # The prerequisite can later be checked for in two ways: # |
