aboutsummaryrefslogtreecommitdiffstats
path: root/builtin/credential.c
diff options
context:
space:
mode:
Diffstat (limited to 'builtin/credential.c')
-rw-r--r--builtin/credential.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/builtin/credential.c b/builtin/credential.c
index 14c8c6608b..614b195b75 100644
--- a/builtin/credential.c
+++ b/builtin/credential.c
@@ -32,15 +32,15 @@ int cmd_credential(int argc,
die("unable to read credential from stdin");
if (!strcmp(op, "fill")) {
- credential_fill(&c, 0);
+ credential_fill(the_repository, &c, 0);
credential_next_state(&c);
credential_write(&c, stdout, CREDENTIAL_OP_RESPONSE);
} else if (!strcmp(op, "approve")) {
credential_set_all_capabilities(&c, CREDENTIAL_OP_HELPER);
- credential_approve(&c);
+ credential_approve(the_repository, &c);
} else if (!strcmp(op, "reject")) {
credential_set_all_capabilities(&c, CREDENTIAL_OP_HELPER);
- credential_reject(&c);
+ credential_reject(the_repository, &c);
} else {
usage(usage_msg);
}