Re: git-remote: Use of uninitialized value in string ne, line 248

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: martin f krafft <madduck@...>
Cc: Alex Riesen <raa.lkml@...>, Junio C Hamano <gitster@...>, git discussion list <git@...>
Date: Wednesday, October 24, 2007 - 4:40 pm

* martin f krafft wrote on Wed, Oct 24, 2007 at 10:27:24PM CEST:

Well, numerical equality and string equality are two different things,
try eq instead (see: perldoc perlop).


Yes.  It's called "defined".
  perl -e 'my $a=0; print "yes\n" if defined $a;'

It should be used here, to allow "0" branches.

Cheers,
Ralf
-
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: git-remote: Use of uninitialized value in string ne, lin..., Ralf Wildenhues, (Wed Oct 24, 4:40 pm)