Commit de587525 authored by Eric Eide's avatar Eric Eide

If $include_urls is false, don't output $BODYSEP at EOM.

parent 2536717b
...@@ -966,11 +966,12 @@ sub commit_mail($$$\@$@) { ...@@ -966,11 +966,12 @@ sub commit_mail($$$\@$@) {
# #
# Show clone URLs # Show clone URLs
# #
my $cloneurls = $BODYSEP; my $cloneurls = "";
if ($include_urls) { if ($include_urls) {
my $ssh_url = get_clone_url($CLONE_SSH); my $ssh_url = get_clone_url($CLONE_SSH);
my $public_url = get_clone_url($CLONE_PUBLIC); my $public_url = get_clone_url($CLONE_PUBLIC);
$cloneurls .= $BODYSEP;
$cloneurls .= "Clone via ssh: $ssh_url\n"; $cloneurls .= "Clone via ssh: $ssh_url\n";
if ($public_url) { if ($public_url) {
# This one might not be set, since the repo may only be # This one might not be set, since the repo may only be
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment