]> khamidou — GitHub mirrors - arcanist.git/commitdiff
Minor, always show the current branch in "arc branch"
authorepriestley <git@epriestley.com>
Tue, 26 Jun 2012 19:45:47 +0000 (12:45 -0700)
committerepriestley <git@epriestley.com>
Tue, 26 Jun 2012 19:45:47 +0000 (12:45 -0700)
src/workflow/ArcanistBranchWorkflow.php

index 030915edde194991cf239fdb76e2ab003156ba4f..0ca2f570331eee213c123e7f9368ddd2c1117cf5 100644 (file)
@@ -207,7 +207,7 @@ EOTEXT
         $status = 'No Revision';
       }
 
-      if (!$this->getArgument('view-all')) {
+      if (!$this->getArgument('view-all') && !$branch['current']) {
         if ($status == 'Closed' || $status == 'Abandoned') {
           continue;
         }