This is a rework of an earlier patch serie: http://thread.gmane.org/gmane.comp.version-control.git/199794/focus=199802 http://thread.gmane.org/gmane.comp.version-control.git/199789 We first add a new "git credential" command, that replaces test-credential.c and wraps the C API, and then use it in the git-remote-mediawiki interface. PATCH 3 is actually a rewrite of Javier's patch, so I took the ownership of the patch, but mentionned Javier in the commit message. Javier Roucher Iglesias (1): add 'git credential' plumbing command Matthieu Moy (2): git credential fill: output the whole 'struct credential' git-remote-mediawiki: add credential support .gitignore | 2 +- Documentation/git-credential.txt | 133 ++++++++++++++++++++++++++++ Documentation/technical/api-credentials.txt | 39 +------- Makefile | 2 +- builtin.h | 1 + builtin/credential.c | 31 +++++++ contrib/mw-to-git/git-remote-mediawiki | 106 +++++++++++++++++++--- credential.c | 2 +- credential.h | 1 + git.c | 1 + t/lib-credential.sh | 39 +++++++- t/t0300-credentials.sh | 14 +++ test-credential.c | 38 -------- 13 files changed, 318 insertions(+), 91 deletions(-) create mode 100644 Documentation/git-credential.txt create mode 100644 builtin/credential.c delete mode 100644 test-credential.c -- 1.7.11.5.g0c7e058.dirty -- To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html