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

Re: [PATCH v3 3/3] New send-email option smtpserveroption.

From
Junio C Hamano <gitster@pobox.com>
Date
Sep 6, 2010, 21:13 UTC
Message-ID
<7vvd6itw1c.fsf@alter.siamese.dyndns.org>
In-Reply-To
<201009061223.59090.jnareb@gmail.com>
Jakub Narebski <jnareb@gmail.com> writes:
Show 10 quoted lines
> On Mon, 6 Sep 2010, Junio C Hamano wrote:
> ...
>> And test if it is easy to arrange (otherwise I'll take a look myself, so
>> do not worry too much about it).
>
> Actually because *all* options use the same mechanism (%config_settings
> which is used in read_config, and GetOptions from Getopt::Long), it would
> be better to just test the mechanism, I think.
>
> But that is outside the scope of this patch...

I didn't mean a test that makes sure --sso=foo is parsed into @sso array; that would be a _mechanism_ test you alluded to, but I think we probably do not need such a test as long as we trust Getopt::Long().

What I meant was to make sure that the result is correctly propagated to the invocation of "exec($smtp_server, @sendmail_params)"; presumably the check will use a custom $smtp_server command that checks individual command line parameters. And that _is_ exactly within the scope of this change.

Previous: Jakub NarebskiNext: Ævar Arnfjörð Bjarmason
Message 9 of 10 in “Add support for SMTP server options”
  1. 0/3 Add support for SMTP server optionsPascal Obry, Sep 5, 2010
  2. 1/3 Minor indentation fix.Pascal Obry, Sep 5, 2010
  3. 2/3 Remove @smtp_host_parts variable as not used.Pascal Obry, Sep 5, 2010
  4. 3/3 New send-email option smtpserveroption.Pascal Obry, Sep 5, 2010
  5. Jakub NarebskiSep 5, 2010
  6. Junio C HamanoSep 6, 2010
  7. Ævar Arnfjörð BjarmasonSep 6, 2010
  8. Jakub NarebskiSep 6, 2010
  9. Junio C HamanoSep 6, 2010
  10. Ævar Arnfjörð BjarmasonSep 5, 2010

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.