mirror of
https://gerrit.googlesource.com/git-repo
synced 2026-05-31 15:09:48 +00:00
12ad396f67
For a large checkout like chromiumos or android, `repo info` takes a really long time! On my machine it took ~6 minutes. On a randomly selected ChromiumOS cq-orchestrator build it took 4.1 minutes: https://ci.chromium.org/b/8682060180498819729. This adds up to a lot of wasted runtime for both humans and bots. The problem is that `repo info` was single-threaded, which causes poor performance when the checkout has 1000+ projects. We already have a pattern for parallelization; let's use it. BUG=None TEST=Manually run, ensure no diff Change-Id: I6b82b9495eb2a0e602a142dd3a16f09217871e1b Reviewed-on: https://gerrit-review.googlesource.com/c/git-repo/+/581921 Tested-by: Greg Edelston <gredelston@google.com> Commit-Queue: Greg Edelston <gredelston@google.com> Reviewed-by: Mike Frysinger <vapier@google.com>
73 lines
1.8 KiB
Groff
73 lines
1.8 KiB
Groff
.\" DO NOT MODIFY THIS FILE! It was generated by help2man.
|
|
.TH REPO "1" "May 2026" "repo info" "Repo Manual"
|
|
.SH NAME
|
|
repo \- repo info - manual page for repo info
|
|
.SH SYNOPSIS
|
|
.B repo
|
|
\fI\,info \/\fR[\fI\,-dl\/\fR] [\fI\,-o \/\fR[\fI\,-c\/\fR]] [\fI\,--format=<format>\/\fR] [\fI\,<project>\/\fR...]
|
|
.SH DESCRIPTION
|
|
Summary
|
|
.PP
|
|
Get info on the manifest branch, current branch or unmerged branches
|
|
.SH OPTIONS
|
|
.TP
|
|
\fB\-h\fR, \fB\-\-help\fR
|
|
show this help message and exit
|
|
.TP
|
|
\fB\-j\fR JOBS, \fB\-\-jobs\fR=\fI\,JOBS\/\fR
|
|
number of jobs to run in parallel (default: based on
|
|
number of CPU cores)
|
|
.TP
|
|
\fB\-d\fR, \fB\-\-diff\fR
|
|
show full info and commit diff including remote
|
|
branches
|
|
.TP
|
|
\fB\-o\fR, \fB\-\-overview\fR
|
|
show overview of all local commits
|
|
.TP
|
|
\fB\-\-include\-summary\fR
|
|
include manifest summary (default: true)
|
|
.TP
|
|
\fB\-\-no\-include\-summary\fR
|
|
exclude manifest summary
|
|
.TP
|
|
\fB\-\-include\-projects\fR
|
|
include project details (default: true)
|
|
.TP
|
|
\fB\-\-no\-include\-projects\fR
|
|
exclude project details
|
|
.TP
|
|
\fB\-c\fR, \fB\-\-current\-branch\fR
|
|
consider only checked out branches
|
|
.TP
|
|
\fB\-\-no\-current\-branch\fR
|
|
consider all local branches
|
|
.TP
|
|
\fB\-l\fR, \fB\-\-local\-only\fR
|
|
disable all remote operations
|
|
.TP
|
|
\fB\-\-format\fR=\fI\,FORMAT\/\fR
|
|
output format: text, json (default: text)
|
|
.SS Logging options:
|
|
.TP
|
|
\fB\-v\fR, \fB\-\-verbose\fR
|
|
show all output
|
|
.TP
|
|
\fB\-q\fR, \fB\-\-quiet\fR
|
|
only show errors
|
|
.SS Multi\-manifest options:
|
|
.TP
|
|
\fB\-\-outer\-manifest\fR
|
|
operate starting at the outermost manifest
|
|
.TP
|
|
\fB\-\-no\-outer\-manifest\fR
|
|
do not operate on outer manifests
|
|
.TP
|
|
\fB\-\-this\-manifest\-only\fR
|
|
only operate on this (sub)manifest
|
|
.TP
|
|
\fB\-\-no\-this\-manifest\-only\fR, \fB\-\-all\-manifests\fR
|
|
operate on this manifest and its submanifests
|
|
.PP
|
|
Run `repo help info` to view the detailed manual.
|