Allow config variable sendemail.aliasesfile to contain a tilde, i.e. make ~/.mutt/aliases work. Signed-off-by: Cord Seele <cowose@xxxxxxxxx> --- git-send-email.perl | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/git-send-email.perl b/git-send-email.perl index 98ab33a..b50b35f 100755 --- a/git-send-email.perl +++ b/git-send-email.perl @@ -481,7 +481,7 @@ my %parse_alias = ( if (@alias_files and $aliasfiletype and defined $parse_alias{$aliasfiletype}) { foreach my $file (@alias_files) { - open my $fh, '<', $file or die "opening $file: $!\n"; + open my $fh, '<', glob($file) or die "opening $file: $!\n"; $parse_alias{$aliasfiletype}->($fh); close $fh; } -- 1.7.6.4.dirty -- Cord -- To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html