diff mbox series

bitbake: fetch2: git: add missing destsuffix and subpath parameters in docstrings

Message ID 20231122151339.967674-1-jstephan@baylibre.com
State New
Headers show
Series bitbake: fetch2: git: add missing destsuffix and subpath parameters in docstrings | expand

Commit Message

Julien Stephan Nov. 22, 2023, 3:13 p.m. UTC
Docstring for git fetcher is missing destsuffix and subpath parameters,
so add them

Signed-off-by: Julien Stephan <jstephan@baylibre.com>
---
 bitbake/lib/bb/fetch2/git.py | 8 ++++++++
 1 file changed, 8 insertions(+)
diff mbox series

Patch

diff --git a/bitbake/lib/bb/fetch2/git.py b/bitbake/lib/bb/fetch2/git.py
index 27a0d05144c..8a76cecdfdc 100644
--- a/bitbake/lib/bb/fetch2/git.py
+++ b/bitbake/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.