From: Jeff King <peff@peff.net>
To: Jari Aalto <jari.aalto@cante.net>
Cc: git@vger.kernel.org
Subject: Re: FEATURE REQUEST: sendemail.aliasesfile support enavironment variables and tilde
Date: Sat, 13 Mar 2010 02:40:31 -0500 [thread overview]
Message-ID: <20100313074031.GA5467@sigill.intra.peff.net> (raw)
In-Reply-To: <87zl2dtl5g.fsf@jondo.cante.net>
On Fri, Mar 12, 2010 at 09:06:19PM +0200, Jari Aalto wrote:
> It apperas that this is not possible with 1.7.0:
>
> # ~/.gitconfig
> [sendemail]
> aliasesfile = $HOME/.mailrc
>
> => opening $HOME/.mailrc: No such file or directory
> ls -la $HOME/.mailrc
> lrwxrwxrwx 1 root root 35 2008-05-31 11:08 /home/foo/.mailrc -> vc/git/shell-account-common/.mailrc
>
> Neither seems to be "~/.mailrc" accpeted. Please add support for at
> least tilde(~).
If you (or anyone) are interested in writing the patch, it is as simple
as adding "--path" to the "git config" call for sendemail.aliasesfile.
Which unfortunately is not that simple, due to the way that sendemail
handles its config values, but the refactoring should not be too hard.
-Peff
prev parent reply other threads:[~2010-03-13 7:40 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-03-12 19:06 FEATURE REQUEST: sendemail.aliasesfile support enavironment variables and tilde Jari Aalto
2010-03-13 7:40 ` Jeff King [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20100313074031.GA5467@sigill.intra.peff.net \
--to=peff@peff.net \
--cc=git@vger.kernel.org \
--cc=jari.aalto@cante.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).