]> git.wh0rd.org - home.git/blobdiff - .bin/cros-repo
cros-repo: run init with -c for speedup
[home.git] / .bin / cros-repo
index 567347f30152b29aa6453aabb826f2868cb26c83..d3e1946771aaae0bd56240ebd08f808ecacf4b93 100755 (executable)
@@ -97,7 +97,7 @@ def set_git_config(opts):
 
 def init_repo(opts):
     """Initialize CrOS checkout."""
-    cmd = ['repo', 'init']
+    cmd = ['repo', 'init', '-c']
 
     if opts.action == 'int':
         cmd += ['-u', INT_MANIFEST]
@@ -141,7 +141,7 @@ def get_parser():
         description=__doc__,
         formatter_class=argparse.RawDescriptionHelpFormatter)
     parser.add_argument('-b', '--branch',
-                        help='Switch branches (use "master" to get to ToT)')
+                        help='Switch branches (use "main" to get to ToT)')
     parser.add_argument('-r', '--ref', '--reference', default='~/chromiumos/',
                         help='Patch to reference repo (default: %(default)s)')
     parser.add_argument('-g', '--group',