diff options
author | Christopher Larson <kergoth@gmail.com> | 2017-05-13 02:46:30 +0500 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2017-06-02 13:36:57 +0100 |
commit | 8144f6f408a77b7fb3367a91c55288b977a9bf88 (patch) | |
tree | cae38a559bbda9d1e6aa3cc5b4c5bf9e02d9a69f /meta/recipes-bsp/u-boot | |
parent | bf87c5cd194b5a24c388d6445b413b5f673bc1de (diff) | |
download | poky-8144f6f408a77b7fb3367a91c55288b977a9bf88.tar.gz |
bitbake: fetch/git: add support for keeping extra refs for shallow
By default, all unused refs (branches & tags) are removed from the repository,
as shallow processing scales with the number of refs it has to process. Add
the ability to explicitly specify additional refs to keep. This is
particularly useful for recipes with custom checkout processes, or whose
git-based versioning requires a tag be available (i.e. for `git describe
--tags`). The new `BB_GIT_SHALLOW_EXTRA_REFS` variable is a space-separated
list of refs, fully specified, and support wildcards.
Example usages:
BB_GIT_SHALLOW_EXTRA_REFS = "refs/tags/v1.0"
BB_GIT_SHALLOW_EXTRA_REFS += "refs/heads/*"
(Bitbake rev: 1771934cd9f8b5847c6fcae0a906fb99d6b0db16)
Signed-off-by: Christopher Larson <chris_larson@mentor.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-bsp/u-boot')
0 files changed, 0 insertions, 0 deletions