[Bps-public-commit] Prophet branch, master, updated. acf03ae31ee507c687898c8accd0851811326650
jesse
jesse at bestpractical.com
Sat May 2 13:06:15 EDT 2009
The branch, master has been updated
via acf03ae31ee507c687898c8accd0851811326650 (commit)
from f3725322bb9a15ca406c21a0b2aea5ad2876c142 (commit)
Summary of changes:
lib/Prophet/Change.pm | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
- Log -----------------------------------------------------------------
commit acf03ae31ee507c687898c8accd0851811326650
Author: Jesse Vincent <jesse at bestpractical.com>
Date: Sat May 2 13:05:47 2009 -0400
Skip changes with no content when reporting change summaries
diff --git a/lib/Prophet/Change.pm b/lib/Prophet/Change.pm
index 09bb2d9..b0fe6f8 100644
--- a/lib/Prophet/Change.pm
+++ b/lib/Prophet/Change.pm
@@ -155,8 +155,8 @@ sub as_string {
return '' if @prop_changes == 0;
$out .= $args{header_callback}->($self) if ( $args{header_callback} );
- for my $prop_change (@prop_changes) {
- $out .= " " . $prop_change->summary . "\n";
+ for my $summary ( sort grep {defined }(map { $_->summary} @prop_changes)) {
+ $out .= " " . $summary . "\n";
}
return $out;
-----------------------------------------------------------------------
More information about the Bps-public-commit
mailing list