From: Michael Hendricks Date: Thu, 5 Jul 2007 01:11:36 +0000 (-0600) Subject: git-send-email: allow an email alias for --from X-Git-Tag: v1.5.3-rc1~59 X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=ae740a588d581b34d2794a0993ae45cdca6d5ece;p=git.git git-send-email: allow an email alias for --from Signed-off-by: Michael Hendricks Signed-off-by: Junio C Hamano --- diff --git a/git-send-email.perl b/git-send-email.perl index 87f59fa31..89f7c36ee 100755 --- a/git-send-email.perl +++ b/git-send-email.perl @@ -254,6 +254,8 @@ if (@alias_files and $aliasfiletype and defined $parse_alias{$aliasfiletype}) { } } +($from) = expand_aliases($from) if defined $from; + my $prompting = 0; if (!defined $from) { $from = $author || $committer;