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

Re: [PATCH] Check and document the options to prevent mistakes.

From
Junio C Hamano <junkio@cox.net>
Date
Jun 21, 2006, 20:53 UTC
Message-ID
<7vy7vqxmb7.fsf@assigned-by-dhcp.cox.net>
In-Reply-To
<m164iu8x78.fsf@ebiederm.dsl.xmission.com>
ebiederm@xmission.com (Eric W. Biederman) writes:
Show 6 quoted lines
> +# Verify the user input
> +
> +foreach my $entry (@to) {
> +	die "Comma in --to entry: $entry'\n" unless $entry !~ m/,/;
> +}
> +
Perhaps, avoiding double negation would be easier on the eyes.
        die ... if $entry =~ /,/

Does it grok '"Biederman, Eric W." <eb@xm.com>' some people seem to do properly, or do we care (I personally don't)?

Previous: Eric W. BiedermanNext: Eric W. Biederman
Message 2 of 4 in “Check and document the options to prevent mistakes.”
  1. Check and document the options to prevent mistakes.Eric W. Biederman, Jun 21, 2006
  2. Junio C HamanoJun 21, 2006
  3. Eric W. BiedermanJun 22, 2006
  4. Junio C HamanoJun 22, 2006

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.