projects
/
git.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1e76b70
)
git-send-email: allow an email alias for --from
author
Michael Hendricks
<michael@ndrix.org>
Thu, 5 Jul 2007 01:11:36 +0000
(19:11 -0600)
committer
Junio 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
patch
|
blob
|
history
diff --git
a/git-send-email.perl
b/git-send-email.perl
index 87f59fa313f4483dc15846979e80e8a8aec3d1f5..89f7c36ee527e84a663eb6c6ea51ae9614e0ead9 100755
(executable)
--- a/
git-send-email.perl
+++ b/
git-send-email.perl
@@
-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;