All new accounts created on Gitlab now require administrator approval. If you invite any collaborators, please let Flux staff know so they can approve the accounts.

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($$$\@$@) {
# Show clone URLs
my $cloneurls = $BODYSEP;
my $cloneurls = "";
if ($include_urls) {
my $ssh_url = get_clone_url($CLONE_SSH);
my $public_url = get_clone_url($CLONE_PUBLIC);
$cloneurls .= $BODYSEP;
$cloneurls .= "Clone via ssh: $ssh_url\n";
if ($public_url) {
# 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