Skip to content

Commit 5d88972

Browse files
vapierLUCI
authored andcommitted
Revert "init: change --manifest-depth default to 1"
This reverts commit 622a5bf. 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>
1 parent 3c0e67b commit 5d88972

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

man/repo-init.1

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
.\" 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"
33
.SH NAME
44
repo \- repo init - manual page for repo init
55
.SH SYNOPSIS
@@ -53,7 +53,7 @@ create a git checkout of the manifest repo
5353
.TP
5454
\fB\-\-manifest\-depth\fR=\fI\,DEPTH\/\fR
5555
create a shallow clone of the manifest repo with given
56-
depth (0 for full clone); see git clone (default: 1)
56+
depth (0 for full clone); see git clone (default: 0)
5757
.SS Manifest (only) checkout options:
5858
.TP
5959
\fB\-c\fR, \fB\-\-current\-branch\fR

repo

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,7 @@ if not REPO_REV:
129129
BUG_URL = "https://issues.gerritcodereview.com/issues/new?component=1370071"
130130

131131
# increment this whenever we make important changes to this script
132-
VERSION = (2, 61)
132+
VERSION = (2, 54)
133133

134134
# increment this if the MAINTAINER_KEYS block is modified
135135
KEYRING_VERSION = (2, 3)
@@ -325,7 +325,7 @@ def InitParser(parser):
325325
group.add_option(
326326
"--manifest-depth",
327327
type="int",
328-
default=1,
328+
default=0,
329329
metavar="DEPTH",
330330
help="create a shallow clone of the manifest repo with "
331331
"given depth (0 for full clone); see git clone "

0 commit comments

Comments
 (0)