Re: [PATCH] Read cvsimport options from repo-config

From: Eric Wong <normalperson@yhbt.net>
Date: 2007-02-11 16:13:53
Junio C Hamano <junkio@cox.net> wrote:
> I find what your patch does quite sensible, although the
> split(/ *(?!:)/) magic might be a bit hard to read for the
> uninitiated.
> 
> > +		my $arg = 'git-repo-config';
> > +		$arg .= ' --bool' if ($o !~ /:$/);
> > +
> > +        chomp(my $tmp = `$arg --get cvsimport.$key`);
> > +		if ($tmp && !($arg =~ / --bool / && $tmp eq 'false')) {
> 
> Can this =~ / --bool / ever match (note the SP after 'l')?

Heh, the same bug has been in git-svn for ages, too.
Received on Sun Feb 11 16:17:43 2007

This archive was generated by hypermail 2.1.8 : 2007-02-11 16:19:22 EST