[Bps-public-commit] smokingit branch, master, updated. f9b1d136fca9283063a12ed50b965fa674b25e65

Alex Vandiver alexmv at bestpractical.com
Tue Feb 8 14:43:07 EST 2011


The branch, master has been updated
       via  f9b1d136fca9283063a12ed50b965fa674b25e65 (commit)
       via  7cc384b5f70ca36521aaa41c0b95efe636907789 (commit)
      from  2ad6092cb1c6714a908d313a94d05daf84504112 (commit)

Summary of changes:
 lib/Smokingit/View/Project.pm |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

- Log -----------------------------------------------------------------
commit 7cc384b5f70ca36521aaa41c0b95efe636907789
Author: Alex Vandiver <alex at chmrr.net>
Date:   Tue Feb 8 14:42:05 2011 -0500

    Sort outstanding branches by owner

diff --git a/lib/Smokingit/View/Project.pm b/lib/Smokingit/View/Project.pm
index 1f955fa..8e290a6 100644
--- a/lib/Smokingit/View/Project.pm
+++ b/lib/Smokingit/View/Project.pm
@@ -178,6 +178,7 @@ template '/cooking.txt' => sub {
         $out .= $t->name." - " . $t->current_commit->long_status . "\n";
 
         my $sub = $t->branches;
+        $sub->order_by({column => "owner"}, {column => "name"});
         while ($b = $sub->next) {
             $out .= " "x 4 . $b->name." - ".$b->owner . "\n";
             $out .= " "x 6 . "[ " . $b->current_commit->long_status;

commit f9b1d136fca9283063a12ed50b965fa674b25e65
Author: Alex Vandiver <alex at chmrr.net>
Date:   Tue Feb 8 14:42:55 2011 -0500

    Space out top-level branches a bit more

diff --git a/lib/Smokingit/View/Project.pm b/lib/Smokingit/View/Project.pm
index 8e290a6..60e37ab 100644
--- a/lib/Smokingit/View/Project.pm
+++ b/lib/Smokingit/View/Project.pm
@@ -189,6 +189,7 @@ template '/cooking.txt' => sub {
             $long .= "\n" if length $long;
             $out .=  "$long\n";
         }
+        $out .= "\n";
     }
     outs_raw( $out );
 };

-----------------------------------------------------------------------



More information about the Bps-public-commit mailing list