git/contrib/credential/netrc
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
..
.gitignore contrib/credential/netrc: make PERL_PATH configurable 2019-12-20 12:40:50 -08:00
git-credential-netrc.perl contrib/credential/netrc: work outside a repo 2019-12-20 12:40:52 -08:00
Makefile contrib/credential/netrc: make PERL_PATH configurable 2019-12-20 12:40:50 -08:00
t-git-credential-netrc.sh git-credential-netrc: use in-tree Git.pm for tests 2018-06-18 08:44:33 -07:00
test.command-option-gpg git-credential-netrc: accept gpg option 2018-05-14 08:53:08 +09:00
test.git-config-gpg git-credential-netrc: accept gpg option 2018-05-14 08:53:08 +09:00
test.netrc Add contrib/credentials/netrc with GPG support 2013-02-25 13:46:14 -08:00
test.netrc.gpg git-credential-netrc: accept gpg option 2018-05-14 08:53:08 +09:00
test.pl git-credential-netrc: fix exit status when tests fail 2018-06-18 08:44:41 -07:00