contrib: add credential helper for GnomeKeyring
authorPhilipp A. Hartmann <pah@qo.cx>
Thu, 23 Aug 2012 16:57:45 +0000 (18:57 +0200)
committerJunio C Hamano <gitster@pobox.com>
Fri, 24 Aug 2012 18:18:31 +0000 (11:18 -0700)
commit0e7afb18cb354c0860f5db33996ddaf58c2af49d
treee449e4f0219ff9876c8a5b25117511b70df399b5
parent889d35899ba64640e47798681ecb34a4be043bad
contrib: add credential helper for GnomeKeyring

With this installed in your $PATH, you can store
git-over-http passwords in your keyring by doing:

git config credential.helper gnome-keyring

The code is based in large part on the work of John Szakmeister
who wrote the helper originally for the initial, unpublished
version of the credential helper protocol.

This version will pass t0303 if you do:

  GIT_TEST_CREDENTIAL_HELPER=gnome-keyring \
  ./t0303-credential-external.sh

Signed-off-by: Philipp A. Hartmann <pah@qo.cx>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
contrib/credential/gnome-keyring/.gitignore [new file with mode: 0644]
contrib/credential/gnome-keyring/Makefile [new file with mode: 0644]
contrib/credential/gnome-keyring/git-credential-gnome-keyring.c [new file with mode: 0644]