On Tue, Nov 13, 2012 at 09:23:00AM -0800, Matt Kraai wrote: > Minor nits: > > On Tue, Nov 13, 2012 at 11:53:20AM -0500, Jeff King wrote: > > @@ -750,6 +750,10 @@ and either returns it as a scalar string or as an array with the fields parsed. > > Alternatively, it can take a prepared ident string (e.g. from the commit > > object) and just parse it. > > > > +If the C<explicit> option is set to 1, the returned array will contain an > > +additional boolean specifying whether the ident was configure explicitly by the > > s/configure/configured/ Thanks. > > if (wantarray) { > > - return $identstr =~ /^(.*) <(.*)> (\d+ [+-]\d{4})$/; > > + my @ret = $identstr =~ /^(.*) <(.*)> (\d+ [+-]\d{4})$/; > > + if ($options{explicit} && defined $explicit) { > > + push @ret, $explicit if defined $explicit; > > Isn't the test on this line redundant given that defined $explicit is > already guaranteed by the condition on the previous line? Yes, thanks (left over from an earlier attempt that tried to avoid having $options{explicit}). -Peff -- 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