]> khamidou — GitHub mirrors - arcanist.git/commitdiff
`arc feature` set up git tracking branch
authorRyan Patterson <rpatterson@fb.com>
Mon, 4 Mar 2013 05:43:59 +0000 (21:43 -0800)
committerRyan Patterson <rpatterson@fb.com>
Mon, 4 Mar 2013 05:43:59 +0000 (21:43 -0800)
Summary:
When using arc feature, it should set up the tracking branch to be
master.

Test Plan:
  ./bin/arc feature tracking

Reviewers: vrana, epriestley

Reviewed By: epriestley

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

src/workflow/ArcanistFeatureWorkflow.php

index 2d8a0800591de0abb99c0ad791b18e55360da9c4..b05ac4b64d0a63b6ceea7c22c6cf5cdef8af8c8a 100644 (file)
@@ -152,7 +152,7 @@ EOTEXT
         }
       } else {
         $exec = $api->execManualLocal(
-          'checkout -b %Ls',
+          'checkout --track -b %Ls',
           $names);
       }