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>
This commit is contained in:

committed by
Junio C Hamano

parent
8470c94be3
commit
36f7d865e3
@ -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,
|
||||
|
Reference in New Issue
Block a user