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: http://git.ipfire.org/?a=commitdiff_plain;h=ae740a588d581b34d2794a0993ae45cdca6d5ece;hp=1e76b702c1e754c7e6df1ced9ce6f1863cb7e092;p=thirdparty%2Fgit.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 87f59fa313..89f7c36ee5 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;