1
0
mirror of https://github.com/git/git.git synced 2024-09-28 19:42:15 +02:00

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>
This commit is contained in:
Michael Hendricks 2007-07-04 19:11:36 -06:00 committed by Junio C Hamano
parent 1e76b702c1
commit ae740a588d

@ -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;