Re: FEATURE REQUEST: sendemail.aliasesfile support enavironment variables and tilde

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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
--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]