git/list[1] front-page[2] threads[3] people[4] search[5] about
 

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

From
Junio C Hamano <junkio@cox.net>
Date
Feb 6, 2007, 04:26 UTC
Message-ID
<7vireflxna.fsf@assigned-by-dhcp.cox.net>
In-Reply-To
<3f80363f0702051722x1812228fp1cd7a41dd32b31f3@mail.gmail.com>

I find what your patch does quite sensible, although the split(/ *(?!:)/) magic might be a bit hard to read for the uninitiated.

Show 5 quoted lines
> +		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')?
Previous: James BowesNext: James Bowes
Message 2 of 4 in “Read cvsimport options from repo-config”
  1. Read cvsimport options from repo-configJames Bowes, Feb 6, 2007
  2. Junio C HamanoFeb 6, 2007
  3. James BowesFeb 7, 2007
  4. Eric WongFeb 11, 2007

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.