diff options
| author | Junio C Hamano <gitster@pobox.com> | 2023-05-10 10:23:28 -0700 |
|---|---|---|
| committer | Junio C Hamano <gitster@pobox.com> | 2023-05-10 10:23:29 -0700 |
| commit | 2ca91d1ee07f934fa7f57ba34c397b150eef023f (patch) | |
| tree | d71bd150edc85eedc736f64e896acad327874343 /builtin/credential-cache--daemon.c | |
| parent | c05615e1c5876bea3c35202771d3db83b3336437 (diff) | |
| parent | a5c76569e798ad3656afe6b67f37cbbb2e47f28c (diff) | |
| download | git-2ca91d1ee07f934fa7f57ba34c397b150eef023f.tar.xz | |
Merge branch 'mh/credential-oauth-refresh-token'
The credential subsystem learns to help OAuth framework.
* mh/credential-oauth-refresh-token:
credential: new attribute oauth_refresh_token
Diffstat (limited to 'builtin/credential-cache--daemon.c')
| -rw-r--r-- | builtin/credential-cache--daemon.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/builtin/credential-cache--daemon.c b/builtin/credential-cache--daemon.c index 4e571d9951..756c5f02ae 100644 --- a/builtin/credential-cache--daemon.c +++ b/builtin/credential-cache--daemon.c @@ -134,6 +134,9 @@ static void serve_one_client(FILE *in, FILE *out) if (e->item.password_expiry_utc != TIME_MAX) fprintf(out, "password_expiry_utc=%"PRItime"\n", e->item.password_expiry_utc); + if (e->item.oauth_refresh_token) + fprintf(out, "oauth_refresh_token=%s\n", + e->item.oauth_refresh_token); } } else if (!strcmp(action.buf, "exit")) { |
