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

Re: [PATCH] Added get sendmail from .mailrc

From
BVBrilliantov Kirill Vladimirovich <brilliantov@inbox.ru>
Date
Jan 26, 2014, 07:34 UTC
Message-ID
<20140126073438.GA3858@kirill.netbynet.ru>
In-Reply-To
<20140125223721.GA2684@dcvr.yhbt.net>
On 2014-01-25 22:37:21, Eric Wong wrote:
Show 8 quoted lines
> Brilliantov Kirill Vladimirovich <brilliantov@inbox.ru> wrote:
> > Signed-off-by: Brilliantov Kirill Vladimirovich <brilliantov@inbox.ru>
> > ---
> >  git-send-email.perl | 18 ++++++++++++++++++
> >  1 file changed, 18 insertions(+)
> 
> Some documentation references to .mailrc and its format would be nice.
> 

Unfortunally I can't found official documentation on this option: http://linux.die.net/man/1/mailx http://publib.boulder.ibm.com/infocenter/aix/v6r1/topic/com.ibm.aix.files/doc/aixfiles/mailrc.htm

On my system (Debian GNU/Linux 7.3) documentation on mailx not conteins description senmail options.

Show 14 quoted lines
> > --- a/git-send-email.perl
> > +++ b/git-send-email.perl
> > @@ -28,6 +28,7 @@ use File::Temp qw/ tempdir tempfile /;
> >  use File::Spec::Functions qw(catfile);
> >  use Error qw(:try);
> >  use Git;
> > +use File::HomeDir;
> 
> We should probably avoid a new dependency and also remain consistent
> with the rest of git handles home directories.
> 
> Unfortunately, expand_user_path()/git_config_pathname() isn't currently
> exposed to scripters right now...
> 
Ok, if new dependency is not allowed I see next ways:
- add new argument
- add new configuration parameters
Previous: Eric WongNext: Brilliantov Kirill Vladimirovich
Message 3 of 8 in “Added get sendmail from .mailrc”
  1. Added get sendmail from .mailrcBrilliantov Kirill Vladimirovich, Jan 25, 2014
  2. Eric WongJan 25, 2014
  3. Brilliantov Kirill VladimirovichJan 26, 2014
  4. Brilliantov Kirill VladimirovichJan 26, 2014
  5. Eric WongJan 26, 2014
  6. Jeff KingJan 28, 2014
  7. Jeff KingJan 28, 2014
  8. Kyle J. McKayJan 28, 2014

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.