aboutsummaryrefslogtreecommitdiffstats
path: root/lib/bb/fetch2
diff options
context:
space:
mode:
authorJulien Stephan <jstephan@baylibre.com>2023-11-22 16:13:39 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2023-11-23 17:44:50 +0000
commit7cea6c2efefbb0f789f654c04a61d9ba770c148b (patch)
tree22c1ebcbbfd03f4bd674c5edda930e85cd6fb8e8 /lib/bb/fetch2
parent05f8529fb439db93d85a892704b6f2f0ac0c9217 (diff)
downloadbitbake-7cea6c2efefbb0f789f654c04a61d9ba770c148b.tar.gz
fetch2: git: add missing destsuffix and subpath parameters in docstrings
Docstring for git fetcher is missing destsuffix and subpath parameters, so add them Signed-off-by: Julien Stephan <jstephan@baylibre.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'lib/bb/fetch2')
-rw-r--r--lib/bb/fetch2/git.py8
1 files changed, 8 insertions, 0 deletions
diff --git a/lib/bb/fetch2/git.py b/lib/bb/fetch2/git.py
index 5fb573a38..0deeb5cee 100644
--- a/lib/bb/fetch2/git.py
+++ b/lib/bb/fetch2/git.py
@@ -48,6 +48,14 @@ Supported SRC_URI options are:
instead of branch.
The default is "0", set nobranch=1 if needed.
+- subpath
+ Limit the checkout to a specific subpath of the tree.
+ By default, checkout the whole tree, set subpath=<path> if needed
+
+- destsuffix
+ The name of the path in which to place the checkout.
+ By default, the path is git/, set destsuffix=<suffix> if needed
+
- usehead
For local git:// urls to use the current branch HEAD as the revision for use with
AUTOREV. Implies nobranch.