From cbd78a91943d1099dad8e285c5adfcf3a269b7ad Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Thu, 11 Apr 2024 08:32:40 -0400 Subject: man: regenerate man pages Change-Id: I8d9dcb37f315d4208b7c8005206ae939dad79a3e Reviewed-on: https://gerrit-review.googlesource.com/c/git-repo/+/419197 Tested-by: Mike Frysinger Commit-Queue: Mike Frysinger Reviewed-by: Josip Sokcevic --- man/repo-manifest.1 | 30 +++++++++++++++++++++++------- 1 file changed, 23 insertions(+), 7 deletions(-) (limited to 'man/repo-manifest.1') diff --git a/man/repo-manifest.1 b/man/repo-manifest.1 index e49836ca..10ec2e75 100644 --- a/man/repo-manifest.1 +++ b/man/repo-manifest.1 @@ -1,5 +1,5 @@ .\" DO NOT MODIFY THIS FILE! It was generated by help2man. -.TH REPO "1" "October 2022" "repo manifest" "Repo Manual" +.TH REPO "1" "April 2024" "repo manifest" "Repo Manual" .SH NAME repo \- repo manifest - manual page for repo manifest .SH SYNOPSIS @@ -194,8 +194,9 @@ CDATA #IMPLIED> .IP - - + + + .IP @@ -210,8 +211,9 @@ CDATA #IMPLIED> .IP - - + + + .PP ]> ``` @@ -533,13 +535,24 @@ the repo client. .PP Element remove\-project .PP -Deletes the named project from the internal manifest table, possibly allowing a +Deletes a project from the internal manifest table, possibly allowing a subsequent project element in the same manifest file to replace the project with a different source. .PP This element is mostly useful in a local manifest file, where the user can remove a project, and possibly replace it with their own definition. .PP +The project `name` or project `path` can be used to specify the remove target +meaning one of them is required. If only name is specified, all projects with +that name are removed. +.PP +If both name and path are specified, only projects with the same name and path +are removed, meaning projects with the same name but in other locations are +kept. +.PP +If only path is specified, a matching project is removed regardless of its name. +Logic otherwise behaves like both are specified. +.PP Attribute `optional`: Set to true to ignore remove\-project elements with no matching `project` element. .PP @@ -608,7 +621,10 @@ included manifest belong. This appends and recurses, meaning all projects in included manifests carry all parent include groups. Same syntax as the corresponding element of `project`. .PP -Local Manifests +Attribute `revision`: Name of a Git branch (e.g. `main` or `refs/heads/main`) +default to which all projects in the included manifest belong. +.PP +Local Manifests .PP Additional remotes and projects may be added through local manifest files stored in `$TOP_DIR/.repo/local_manifests/*.xml`. -- cgit v1.2.3-54-g00ecf