From: Eric Wong Date: Sat, 25 Jan 2014 22:37:21 GMT Subject: Re: [PATCH] Added get sendmail from .mailrc Message-ID: <20140125223721.GA2684@dcvr.yhbt.net> In-Reply-To: <1390643210-5748-1-git-send-email-brilliantov@inbox.ru> Brilliantov Kirill Vladimirovich wrote: > Signed-off-by: Brilliantov Kirill Vladimirovich > --- > git-send-email.perl | 18 ++++++++++++++++++ > 1 file changed, 18 insertions(+) Some documentation references to .mailrc and its format would be nice. > --- 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...