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:
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;
|
my $prompting = 0;
|
||||||
if (!defined $from) {
|
if (!defined $from) {
|
||||||
$from = $author || $committer;
|
$from = $author || $committer;
|
||||||
|
Loading…
Reference in New Issue
Block a user