summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMike Frysinger <vapier@google.com>2026-01-21 09:15:11 -0500
committerLUCI <gerrit-scoped@luci-project-accounts.iam.gserviceaccount.com>2026-01-21 12:32:59 -0800
commit5d88972390295e229ee940992cb33ce8cfd39cd5 (patch)
tree93a3b898c10a1682136a890c3dde1ada50fced89
parent3c0e67bbc5f7c3849919735db4bfd7e66190f80c (diff)
downloadgit-repo-2.61.1.tar.gz
Revert "init: change --manifest-depth default to 1"v2.61.1stable
This reverts commit 622a5bf9c2937fbfc631ccc30d5debf74010361d. CrOS infra is failing to sync code now for some reason. Until we can investigate further, pull this back out. Bug: 475668525 Bug: 468033850 Change-Id: I35a8623a95336df1be27ea870afbfc8065609f01 Reviewed-on: https://gerrit-review.googlesource.com/c/git-repo/+/545141 Reviewed-by: Gavin Mak <gavinmak@google.com> Tested-by: Mike Frysinger <vapier@google.com> Commit-Queue: Mike Frysinger <vapier@google.com>
-rw-r--r--man/repo-init.14
-rwxr-xr-xrepo4
2 files changed, 4 insertions, 4 deletions
diff --git a/man/repo-init.1 b/man/repo-init.1
index 55b885c4..37411752 100644
--- a/man/repo-init.1
+++ b/man/repo-init.1
@@ -1,5 +1,5 @@
1.\" DO NOT MODIFY THIS FILE! It was generated by help2man. 1.\" DO NOT MODIFY THIS FILE! It was generated by help2man.
2.TH REPO "1" "December 2025" "repo init" "Repo Manual" 2.TH REPO "1" "September 2024" "repo init" "Repo Manual"
3.SH NAME 3.SH NAME
4repo \- repo init - manual page for repo init 4repo \- repo init - manual page for repo init
5.SH SYNOPSIS 5.SH SYNOPSIS
@@ -53,7 +53,7 @@ create a git checkout of the manifest repo
53.TP 53.TP
54\fB\-\-manifest\-depth\fR=\fI\,DEPTH\/\fR 54\fB\-\-manifest\-depth\fR=\fI\,DEPTH\/\fR
55create a shallow clone of the manifest repo with given 55create a shallow clone of the manifest repo with given
56depth (0 for full clone); see git clone (default: 1) 56depth (0 for full clone); see git clone (default: 0)
57.SS Manifest (only) checkout options: 57.SS Manifest (only) checkout options:
58.TP 58.TP
59\fB\-c\fR, \fB\-\-current\-branch\fR 59\fB\-c\fR, \fB\-\-current\-branch\fR
diff --git a/repo b/repo
index 43d30cc2..ee3a5b79 100755
--- a/repo
+++ b/repo
@@ -129,7 +129,7 @@ if not REPO_REV:
129BUG_URL = "https://issues.gerritcodereview.com/issues/new?component=1370071" 129BUG_URL = "https://issues.gerritcodereview.com/issues/new?component=1370071"
130 130
131# increment this whenever we make important changes to this script 131# increment this whenever we make important changes to this script
132VERSION = (2, 61) 132VERSION = (2, 54)
133 133
134# increment this if the MAINTAINER_KEYS block is modified 134# increment this if the MAINTAINER_KEYS block is modified
135KEYRING_VERSION = (2, 3) 135KEYRING_VERSION = (2, 3)
@@ -325,7 +325,7 @@ def InitParser(parser):
325 group.add_option( 325 group.add_option(
326 "--manifest-depth", 326 "--manifest-depth",
327 type="int", 327 type="int",
328 default=1, 328 default=0,
329 metavar="DEPTH", 329 metavar="DEPTH",
330 help="create a shallow clone of the manifest repo with " 330 help="create a shallow clone of the manifest repo with "
331 "given depth (0 for full clone); see git clone " 331 "given depth (0 for full clone); see git clone "