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

Alex Vandiver alexmv at bestpractical.com
Thu Oct 10 18:32:44 EDT 2013


The branch, master has been updated
       via  ea06129b2c1293cba218750a9f5357872aa170cc (commit)
      from  e13f3f4c5d879a6fc20a9336b22abdab0eefefa8 (commit)

Summary of changes:
 lib/Smokingit/IRC.pm | 2 ++
 1 file changed, 2 insertions(+)

- Log -----------------------------------------------------------------
commit ea06129b2c1293cba218750a9f5357872aa170cc
Author: Alex Vandiver <alexmv at bestpractical.com>
Date:   Thu Oct 10 18:32:36 2013 -0400

    Describe fails when asked using "status"

diff --git a/lib/Smokingit/IRC.pm b/lib/Smokingit/IRC.pm
index 17c8284..a3e2369 100644
--- a/lib/Smokingit/IRC.pm
+++ b/lib/Smokingit/IRC.pm
@@ -113,6 +113,8 @@ sub do_status {
     my $what     = $self->lookup_commitish($incoming, @_);
     if ($what->isa("Smokingit::Model::Commit")) {
         my $msg = $what->short_sha . " is " . $what->status;
+        $msg = $what->short_sha . " is " . $self->describe_fail($what)
+            if $what->status eq "failing";
 
         $msg .= "; " . $self->queue_status($what)
             if $what->status eq "queued";

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



More information about the Bps-public-commit mailing list