Code

send-email: use catfile() to concatenate files
authorÆvar Arnfjörð Bjarmason <avarab@gmail.com>
Tue, 14 Sep 2010 19:02:24 +0000 (19:02 +0000)
committerJunio C Hamano <gitster@pobox.com>
Tue, 14 Sep 2010 19:27:01 +0000 (12:27 -0700)
commit89bf1bace388c118137261e852635db92e607888
tree96c6ed7e643816f3256d4e8e023423f7f581eb79
parent5879b6bbcaba7696e4abfa717748da166f915405
send-email: use catfile() to concatenate files

Change send-email to use Perl's catfile() function instead of
"$dir/$file". If send-email is given a $dir that ends with a / we'll
end up printing a double slashed path like "dir//mtfnpy.patch".

This doesn't cause any problems since Perl's IO layer will handle it,
but it looks ugly.

Signed-off-by: Ævar Arnfjörð Bjarmason <avarab@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
git-send-email.perl