diff options
| author | Taylor Blau <me@ttaylorr.com> | 2023-05-01 11:53:48 -0400 |
|---|---|---|
| committer | Junio C Hamano <gitster@pobox.com> | 2023-05-01 09:27:00 -0700 |
| commit | 16b305cd2ba1747bcc6d160665eccdbbf7f2ea10 (patch) | |
| tree | 1146d1bd533ef0ae5bb0114449534ef93ec42fbb /builtin/commit-graph.c | |
| parent | The fifteenth batch (diff) | |
| download | git-16b305cd2ba1747bcc6d160665eccdbbf7f2ea10.tar.gz git-16b305cd2ba1747bcc6d160665eccdbbf7f2ea10.zip | |
credential.c: store "wwwauth[]" values in `credential_read()`
Teach git-credential to read "wwwauth[]" value(s) when parsing the
output of a credential helper.
These extra headers are not needed for Git's own HTTP support to use the
feature internally, but the feature would not be available for a
scripted caller (say, git-remote-mediawiki providing the header in the
same way).
As a bonus, this also makes it easier to use wwwauth[] in synthetic
credential inputs in our test suite.
Co-authored-by: Jeff King <peff@peff.net>
Signed-off-by: Jeff King <peff@peff.net>
Signed-off-by: Taylor Blau <me@ttaylorr.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'builtin/commit-graph.c')
0 files changed, 0 insertions, 0 deletions
