Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

collapse whitespace

It's a tweet, it's not going to look good with newlines anyway.
  • Loading branch information...
commit 4d86cc5af3d7af3140fa9098530a353cd5a0f66f 1 parent db42c66
@afresh1 authored
Showing with 1 addition and 0 deletions.
  1. +1 −0  commits-to-twitter.pl
View
1  commits-to-twitter.pl
@@ -137,6 +137,7 @@ sub make_tweet {
my $change = change_for($commit);
my $message = "$by $change: " . $commit->{'Log message'};
+ $message =~ s/\s+/ /gms;
return shorten($message), \%params;
}
Please sign in to comment.
Something went wrong with that request. Please try again.