diff options
author | Matthieu Moy <Matthieu.Moy@imag.fr> | 2012-06-24 13:40:01 +0200 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2012-06-25 11:56:24 -0700 |
commit | a7271ad1dccaf1a1875992520204debb37ed78bb (patch) | |
tree | e7872a65cc5e58b2b5f57e7d65f9a398f12abcd7 /editor.c | |
parent | git credential fill: output the whole 'struct credential' (diff) | |
download | tgif-a7271ad1dccaf1a1875992520204debb37ed78bb.tar.xz |
git-remote-mediawiki: add credential support
The previous version implemented the possibility to log in a wiki, but
the username and password had to be provided as configuration variables.
We add the possibility to use the Git credential system to prompt
the password.
The support if implemented with generic functions that mimic the C API,
designed to be usable from other contexts in the future (i.e. they may
migrate to Git.pm if someone is interested).
While we're there, do a bit of refactoring in mw_connect_maybe.
Based on patch by: Javier Roucher Iglesias <Javier.Roucher-Iglesias@ensimag.imag.fr>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'editor.c')
0 files changed, 0 insertions, 0 deletions