]> git.ipfire.org Git - thirdparty/git.git/commitdiff
git-send-email: allow an email alias for --from
authorMichael Hendricks <michael@ndrix.org>
Thu, 5 Jul 2007 01:11:36 +0000 (19:11 -0600)
committerJunio C Hamano <gitster@pobox.com>
Sat, 7 Jul 2007 06:16:59 +0000 (23:16 -0700)
Signed-off-by: Michael Hendricks <michael@ndrix.org>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
git-send-email.perl

index 87f59fa313f4483dc15846979e80e8a8aec3d1f5..89f7c36ee527e84a663eb6c6ea51ae9614e0ead9 100755 (executable)
@@ -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;