diff options
author | brian m. carlson <sandals@crustytoothpaste.net> | 2024-04-17 00:02:34 +0000 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2024-04-16 22:39:07 -0700 |
commit | 36f7d865e340c3afe578df05c6d9e8f9a7bda887 (patch) | |
tree | cd9678095254b0229a19d336ed67b89fb827a3da /credential.c | |
parent | 8470c94be33d639c943e051a802c0e28eabf4a96 (diff) | |
download | git-36f7d865e340c3afe578df05c6d9e8f9a7bda887.tar.gz |
credential: enable state capability
Now that we've implemented the state capability, let's send it along by
default when filling credentials so we can make use of it.
Signed-off-by: brian m. carlson <sandals@crustytoothpaste.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'credential.c')
-rw-r--r-- | credential.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/credential.c b/credential.c index 48826fb5a2..c93de92f65 100644 --- a/credential.c +++ b/credential.c @@ -56,6 +56,7 @@ void credential_set_all_capabilities(struct credential *c, enum credential_op_type op_type) { credential_set_capability(&c->capa_authtype, op_type); + credential_set_capability(&c->capa_state, op_type); } int credential_match(const struct credential *want, |