1
0
Fork 0
mirror of https://github.com/git/git.git synced 2024-05-25 12:26:12 +02:00
git/contrib/credential
Denton Liu 6579d93a97 contrib/credential/netrc: work outside a repo
Currently, git-credential-netrc does not work outside of a git
repository. It fails with the following error:

	fatal: Not a git repository: . at /usr/share/perl5/Git.pm line 214.

There is no real reason why need to be within a repository, though.
Credential helpers should be able to work just fine outside the
repository as well.

Call the non-self version of config() so that git-credential-netrc no
longer needs to be run within a repository.

Signed-off-by: Denton Liu <liu.denton@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
2019-12-20 12:40:52 -08:00
..
gnome-keyring Replace Free Software Foundation address in license notices 2017-11-09 13:21:21 +09:00
libsecret Merge branch 'tz/fsf-address-update' 2017-11-15 12:14:34 +09:00
netrc contrib/credential/netrc: work outside a repo 2019-12-20 12:40:52 -08:00
osxkeychain credential-osxkeychain: support more protocols 2013-05-28 11:29:47 -07:00
wincred mingw: load system libraries the recommended way 2018-10-24 14:48:00 +09:00