]> khamidou — GitHub mirrors - arcanist.git/commitdiff
Hide Git merge stats in arc land
authorJakub Vrana <jakub@vrana.cz>
Sat, 6 Apr 2013 16:23:41 +0000 (09:23 -0700)
committerJakub Vrana <jakub@vrana.cz>
Sat, 6 Apr 2013 16:23:41 +0000 (09:23 -0700)
Test Plan:
  $ arc land # in Git repo

Reviewers: epriestley

Reviewed By: epriestley

CC: aran, Korvin
Differential Revision: https://secure.phabricator.com/D5599

src/workflow/ArcanistLandWorkflow.php

index 7fdb23ee177082b9d26b7325e1e76602f7b72522..65b37c0271b22387f6a0a49ece274cc4d0a1f7af 100644 (file)
@@ -584,7 +584,7 @@ EOTEXT
         }
       } else {
         $err = phutil_passthru(
-          'git merge %s -m %s',
+          'git merge --no-stat %s -m %s',
           $this->onto,
           "Automatic merge by 'arc land'");
         if ($err) {
@@ -630,7 +630,7 @@ EOTEXT
     if ($this->isGit) {
       $repository_api->execxLocal('checkout %s', $this->onto);
       $repository_api->execxLocal(
-        'merge --squash --ff-only %s',
+        'merge --no-stat --squash --ff-only %s',
         $this->branch);
     } else if ($this->isHg) {
       // The hg code is a little more complex than git's because we
@@ -801,7 +801,7 @@ EOTEXT
     chdir($repository_api->getPath());
     if ($this->isGit) {
       $err = phutil_passthru(
-        'git merge --no-ff --no-commit %s',
+        'git merge --no-stat --no-ff --no-commit %s',
         $this->branch);
 
       if ($err) {