aboutsummaryrefslogtreecommitdiffstats
path: root/credential.h
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2025-01-13 13:02:01 -0800
committerJunio C Hamano <gitster@pobox.com>2025-01-13 13:02:01 -0800
commit757161efcca150a9a96b312d9e780a071e601a03 (patch)
tree8bc985feb492946da607f21ad4ffa8fbddfe1843 /credential.h
parent46afc2ba91a3c7fa8f1591c0a6a1b7c4ad0d2a07 (diff)
parentf93ff170b93a1782659637824b25923245ac9dd1 (diff)
downloadgit-757161efcca150a9a96b312d9e780a071e601a03.tar.gz
Sync with Git 2.48.1
Diffstat (limited to 'credential.h')
-rw-r--r--credential.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/credential.h b/credential.h
index 5f9e6ff2ef..63fef3e2ea 100644
--- a/credential.h
+++ b/credential.h
@@ -168,7 +168,9 @@ struct credential {
multistage: 1,
quit:1,
use_http_path:1,
- username_from_proto:1;
+ username_from_proto:1,
+ sanitize_prompt:1,
+ protect_protocol:1;
struct credential_capability capa_authtype;
struct credential_capability capa_state;
@@ -195,6 +197,8 @@ struct credential {
.wwwauth_headers = STRVEC_INIT, \
.state_headers = STRVEC_INIT, \
.state_headers_to_send = STRVEC_INIT, \
+ .sanitize_prompt = 1, \
+ .protect_protocol = 1, \
}
/* Initialize a credential structure, setting all fields to empty. */