summaryrefslogtreecommitdiff
path: root/credential.h
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2020-03-05 18:43:02 (GMT)
committerJunio C Hamano <gitster@pobox.com>2020-03-05 18:43:02 (GMT)
commit2cbb0586697585995908c325a0c70aad37602274 (patch)
tree829da1f1b35211523f214783fc6350a37f62d38d /credential.h
parent25063e2530e2fbdccf5d372a8ad80309421c9df1 (diff)
parent46fd7b390034eb5dde6a3f955e677c5260e4d10c (diff)
downloadgit-2cbb0586697585995908c325a0c70aad37602274.zip
git-2cbb0586697585995908c325a0c70aad37602274.tar.gz
git-2cbb0586697585995908c325a0c70aad37602274.tar.bz2
Merge branch 'bc/wildcard-credential'
A configuration element used for credential subsystem can now use wildcard pattern to specify for which set of URLs the entry applies. * bc/wildcard-credential: credential: allow wildcard patterns when matching config credential: use the last matching username in the config t0300: add tests for some additional cases t1300: add test for urlmatch with multiple wildcards mailmap: add an additional email address for brian m. carlson
Diffstat (limited to 'credential.h')
-rw-r--r--credential.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/credential.h b/credential.h
index a5a3ee9..fec7815 100644
--- a/credential.h
+++ b/credential.h
@@ -118,7 +118,8 @@ struct credential {
unsigned approved:1,
configured:1,
quit:1,
- use_http_path:1;
+ use_http_path:1,
+ username_from_proto:1;
char *username;
char *password;