aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/credential/netrc/git-credential-netrc.perl
diff options
context:
space:
mode:
authorMatthew John Cheetham <mjcheetham@outlook.com>2022-09-22 16:59:32 +0000
committerJunio C Hamano <gitster@pobox.com>2022-09-22 14:20:37 -0700
commitd69580498370236a93014e1b1b57685d1709b6c8 (patch)
tree9b879d7cee1ad14933735f867c046452ae63cd4e /contrib/credential/netrc/git-credential-netrc.perl
parentGit 2.38-rc1 (diff)
downloadgit-d69580498370236a93014e1b1b57685d1709b6c8.tar.gz
git-d69580498370236a93014e1b1b57685d1709b6c8.zip
wincred: ignore unknown lines (do not die)
It is the expectation that credential helpers be liberal in what they accept and conservative in what they return, to allow for future growth and evolution of the protocol/interaction. All of the other helpers (store, cache, osxkeychain, libsecret, gnome-keyring) except `netrc` currently ignore any credential lines that are not recognised, whereas the Windows helper (wincred) instead dies. Fix the discrepancy and ignore unknown lines in the wincred helper. Signed-off-by: Matthew John Cheetham <mjcheetham@outlook.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'contrib/credential/netrc/git-credential-netrc.perl')
0 files changed, 0 insertions, 0 deletions