summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGavin Mak <gavinmak@google.com>2026-05-07 22:30:36 +0000
committerGavin Mak <gavinmak@google.com>2026-05-07 20:27:08 -0700
commit11428ae984a141e3671f3d9f4df9e2b16314ff54 (patch)
treef98a2b290547b75d0f7a58d32691a2b9cc11bd9f
parent27d2232eb3cc4ec91fe6143b5d5c0d6f72861248 (diff)
downloadgit-repo-11428ae984a141e3671f3d9f4df9e2b16314ff54.tar.gz
git-repo-11428ae984a141e3671f3d9f4df9e2b16314ff54.zip
forall: Document REPO_UPSTREAM and REPO_DEST_BRANCH envvars
Change-Id: I74365295152f8828587c6b4ed93029efc6000881 Reviewed-on: https://gerrit-review.googlesource.com/c/git-repo/+/580761 Tested-by: Gavin Mak <gavinmak@google.com> Reviewed-by: Mike Frysinger <vapier@google.com>
-rw-r--r--man/repo-forall.17
-rw-r--r--subcmds/forall.py6
2 files changed, 12 insertions, 1 deletions
diff --git a/man/repo-forall.1 b/man/repo-forall.1
index f14912f9b..bbd83bd60 100644
--- a/man/repo-forall.1
+++ b/man/repo-forall.1
@@ -1,5 +1,5 @@
.\" DO NOT MODIFY THIS FILE! It was generated by help2man.
-.TH REPO "1" "July 2022" "repo forall" "Repo Manual"
+.TH REPO "1" "May 2026" "repo forall" "Repo Manual"
.SH NAME
repo \- repo forall - manual page for repo forall
.SH SYNOPSIS
@@ -120,6 +120,11 @@ git command, use REPO_LREV.
REPO_RREV is the name of the revision from the manifest, exactly as written in
the manifest.
.PP
+REPO_UPSTREAM is the name of the upstream branch as specified in the manifest.
+.PP
+REPO_DEST_BRANCH is the name of the destination branch for code review, as
+specified in the manifest.
+.PP
REPO_COUNT is the total number of projects being iterated.
.PP
REPO_I is the current (1\-based) iteration count. Can be used in conjunction with
diff --git a/subcmds/forall.py b/subcmds/forall.py
index 57a41fc10..01c2f0d13 100644
--- a/subcmds/forall.py
+++ b/subcmds/forall.py
@@ -102,6 +102,12 @@ revision to a locally executed git command, use REPO_LREV.
REPO_RREV is the name of the revision from the manifest, exactly
as written in the manifest.
+REPO_UPSTREAM is the name of the upstream branch as specified in the
+manifest.
+
+REPO_DEST_BRANCH is the name of the destination branch for code review,
+as specified in the manifest.
+
REPO_COUNT is the total number of projects being iterated.
REPO_I is the current (1-based) iteration count. Can be used in