mirror of
https://gerrit.googlesource.com/git-repo
synced 2026-05-30 14:39:46 +00:00
Revert "init: change --manifest-depth default to 1"
This reverts commit 622a5bf9c2.
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>
This commit is contained in:
+2
-2
@@ -1,5 +1,5 @@
|
|||||||
.\" DO NOT MODIFY THIS FILE! It was generated by help2man.
|
.\" DO NOT MODIFY THIS FILE! It was generated by help2man.
|
||||||
.TH REPO "1" "December 2025" "repo init" "Repo Manual"
|
.TH REPO "1" "September 2024" "repo init" "Repo Manual"
|
||||||
.SH NAME
|
.SH NAME
|
||||||
repo \- repo init - manual page for repo init
|
repo \- repo init - manual page for repo init
|
||||||
.SH SYNOPSIS
|
.SH SYNOPSIS
|
||||||
@@ -53,7 +53,7 @@ create a git checkout of the manifest repo
|
|||||||
.TP
|
.TP
|
||||||
\fB\-\-manifest\-depth\fR=\fI\,DEPTH\/\fR
|
\fB\-\-manifest\-depth\fR=\fI\,DEPTH\/\fR
|
||||||
create a shallow clone of the manifest repo with given
|
create a shallow clone of the manifest repo with given
|
||||||
depth (0 for full clone); see git clone (default: 1)
|
depth (0 for full clone); see git clone (default: 0)
|
||||||
.SS Manifest (only) checkout options:
|
.SS Manifest (only) checkout options:
|
||||||
.TP
|
.TP
|
||||||
\fB\-c\fR, \fB\-\-current\-branch\fR
|
\fB\-c\fR, \fB\-\-current\-branch\fR
|
||||||
|
|||||||
@@ -129,7 +129,7 @@ if not REPO_REV:
|
|||||||
BUG_URL = "https://issues.gerritcodereview.com/issues/new?component=1370071"
|
BUG_URL = "https://issues.gerritcodereview.com/issues/new?component=1370071"
|
||||||
|
|
||||||
# increment this whenever we make important changes to this script
|
# increment this whenever we make important changes to this script
|
||||||
VERSION = (2, 61)
|
VERSION = (2, 54)
|
||||||
|
|
||||||
# increment this if the MAINTAINER_KEYS block is modified
|
# increment this if the MAINTAINER_KEYS block is modified
|
||||||
KEYRING_VERSION = (2, 3)
|
KEYRING_VERSION = (2, 3)
|
||||||
@@ -325,7 +325,7 @@ def InitParser(parser):
|
|||||||
group.add_option(
|
group.add_option(
|
||||||
"--manifest-depth",
|
"--manifest-depth",
|
||||||
type="int",
|
type="int",
|
||||||
default=1,
|
default=0,
|
||||||
metavar="DEPTH",
|
metavar="DEPTH",
|
||||||
help="create a shallow clone of the manifest repo with "
|
help="create a shallow clone of the manifest repo with "
|
||||||
"given depth (0 for full clone); see git clone "
|
"given depth (0 for full clone); see git clone "
|
||||||
|
|||||||
Reference in New Issue
Block a user