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>
Michael Hendricks committed
Jul 4, 2007 at 19:11 UTC
ae740a588d581b34d2794a0993ae45cdca6d5ece
1 file changed
+2
git-send-email.perl
+2
@@ -254,6 +254,8 @@ if (@alias_files and $aliasfiletype and defined $parse_alias{$aliasfiletype}) {
254
}
255
}
256
257
+($from) = expand_aliases($from) if defined $from;
258
+
259
my $prompting = 0;
260
if (!defined $from) {
261
$from = $author || $committer;