Sven Strickroth <sven.strickroth@xxxxxxxxxxxxxxx> writes: > Signed-off-by: Sven Strickroth <email@xxxxxxxxxx> > --- I *suspect* that this is a fix-up to a bug in patch 1/5 that lets callers call _askpass_prompt helper without checking the value of the "askpass", and if that is the case, this patch should be squashed there. But there is no justification in the proposed log message above, so I cannot tell. > perl/Git.pm | 3 +++ > 1 files changed, 3 insertions(+), 0 deletions(-) > > diff --git a/perl/Git.pm b/perl/Git.pm > index 7fdf805..c6b3e11 100644 > --- a/perl/Git.pm > +++ b/perl/Git.pm > @@ -537,6 +537,9 @@ sub askpass_prompt { > > sub _askpass_prompt { > my ($self, $askpass, $prompt) = _maybe_self(@_); > + unless ($askpass) { > + return undef; > + } > my $ret; > open my $fh, "-|", $askpass, $prompt || return undef; > $ret = <$fh>; -- To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html