git credential fill: output the whole 'struct credential'
authorMatthieu Moy <Matthieu.Moy@imag.fr>
Sun, 24 Jun 2012 11:40:00 +0000 (13:40 +0200)
committerJunio C Hamano <gitster@pobox.com>
Mon, 25 Jun 2012 18:56:24 +0000 (11:56 -0700)
commit2d6dc182b8fa171a6b283ce6e8e75a35e13ea67a
tree8f2e6170136cf7a4a63b8ef6083327e91c8c4fae
parente30b2feb1b50c2d14d32dc3e6e41f7b20a677ff2
git credential fill: output the whole 'struct credential'

Instead of outputing only the username and password, print all the
attributes, even those that already appeared in the input.

This is closer to what the C API does, and allows one to take the exact
output of "git credential fill" as input to "git credential approve" or
"git credential reject".

Signed-off-by: Junio C Hamano <gitster@pobox.com>
Documentation/git-credential.txt
builtin/credential.c
credential.c
credential.h
t/lib-credential.sh
t/t0300-credentials.sh