diff options
author | Michael Hendricks <michael@ndrix.org> | 2007-07-04 19:11:36 -0600 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2007-07-06 23:16:59 -0700 |
commit | ae740a588d581b34d2794a0993ae45cdca6d5ece (patch) | |
tree | 64d16859cdcd1e239bdc55a4e455f8d2599a0d96 /git-send-email.perl | |
parent | 1e76b702c1e754c7e6df1ced9ce6f1863cb7e092 (diff) | |
download | git-ae740a588d581b34d2794a0993ae45cdca6d5ece.tar.gz |
git-send-email: allow an email alias for --from
Signed-off-by: Michael Hendricks <michael@ndrix.org>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'git-send-email.perl')
-rwxr-xr-x | git-send-email.perl | 2 |
1 files changed, 2 insertions, 0 deletions
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; |