git/contrib/credential/netrc
Matthew John Cheetham 6ea87d97af netrc: ignore unknown lines (do not die)
Contrary to the documentation on credential helpers, as well as the help
text for git-credential-netrc itself, this helper will `die` when
presented with an unknown property/attribute/token.

Correct the behaviour here by skipping and ignoring any tokens that are
unknown. This means all helpers in the tree are consistent and ignore
any unknown credential properties/attributes.

Signed-off-by: Matthew John Cheetham <mjcheetham@outlook.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
2022-09-22 14:20:59 -07:00
..
.gitignore contrib/credential/netrc: make PERL_PATH configurable 2019-12-20 12:40:50 -08:00
Makefile contrib/credential/netrc: make PERL_PATH configurable 2019-12-20 12:40:50 -08:00
git-credential-netrc.perl netrc: ignore unknown lines (do not die) 2022-09-22 14:20:59 -07:00
t-git-credential-netrc.sh test-lib: simplify by removing test_external 2022-07-27 16:35:40 -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