diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2024-02-28 11:27:12 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2024-02-28 11:37:52 +0000 |
commit | 1b3cd039fe19b24bd4be9a0202a98cdcbb0e9443 (patch) | |
tree | 99d5c670f1b8fc91c4b051c6803d97368cfd8c7b /lib/prserv | |
parent | 1f4d517b7a0389f78d1f791135f8dc9120e9912b (diff) | |
download | bitbake-1b3cd039fe19b24bd4be9a0202a98cdcbb0e9443.tar.gz |
fetch/git: Avoid clean upon failure
Currently when git fetches fail, it destroys all the existing local clone data.
For large repositories this can introduce long build delays when for example,
you just typo'd the git revision hash.
The git fetcher should be able to recover most directories so when the fetch is
for a git repo, avoid removing things unless clean is explicitly called
(e.g. a -c cleanall task).
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'lib/prserv')
0 files changed, 0 insertions, 0 deletions