Git.pm: add interface for git credential command
commit52dce6d036f1f3859062c475127e498ab3d261b9
authorMichal Nazarewicz <mina86@mina86.com>
Tue, 12 Feb 2013 14:02:32 +0000 (12 15:02 +0100)
committerJunio C Hamano <gitster@pobox.com>
Wed, 27 Feb 2013 15:43:58 +0000 (27 07:43 -0800)
tree658c5f374425c75724afce4bc8e41ab8b44814f4
parentf4c0035de660f5be4d78b0ba0aa8a7863b89c72f
Git.pm: add interface for git credential command

Add a credential() function which is an interface to the git
credential command.  The code is heavily based on credential_*
functions in <contrib/mw-to-git/git-remote-mediawiki>.

Signed-off-by: Michal Nazarewicz <mina86@mina86.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
perl/Git.pm