1
0
mirror of https://github.com/git/git.git synced 2024-11-19 04:43:58 +01: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;