credentials: add "getpass" helper
authorJeff King <peff@peff.net>
Mon, 18 Jul 2011 07:58:59 +0000 (03:58 -0400)
committerJunio C Hamano <gitster@pobox.com>
Wed, 3 Aug 2011 22:25:12 +0000 (15:25 -0700)
commit1e481b38ac77c9ab32a54bd419d0e60e6d5ee5d1
tree8fed456b886e4c71c6e4401ac935732f1cfb6b22
parent3fc3ee73327b955d9759e802ca3e3d9c08429925
credentials: add "getpass" helper

This just does the normal "ask on the terminal, or use
GIT_ASKPASS" logic that we already do. But it's useful for
writers of third-party helpers. See the documentation for an
example.

Signed-off-by: Jeff King <peff@peff.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
.gitignore
Documentation/git-credential-getpass.txt [new file with mode: 0644]
Makefile
credential-getpass.c [new file with mode: 0644]