diff options
author | Ola Redell <ola.redell@retotech.se> | 2017-01-12 11:33:27 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2017-01-17 11:29:29 +0000 |
commit | d937b5f5e7f334e900aece53fb2eacffe30bc086 (patch) | |
tree | 6ed297aa026198f43aeb6443386977b23faef8e7 /bitbake/lib/bb/COW.py | |
parent | 7eb02e837ed253a2ae69023595c25660b4d56b7c (diff) | |
download | poky-d937b5f5e7f334e900aece53fb2eacffe30bc086.tar.gz |
bitbake: gitsm.py: Add force flag to git checkout command in update_submodules
When the gitsm fetcher is used with a repo that includes a .gitattributes
file that makes git modify files on cloning (e.g. line break characters),
the subsequent checkout performed in the update_submodules function fails.
This is fixed by adding the force flag (-f) to the checkout command.
(Bitbake rev: c05e1396625b14e66d795408ea2ae4cd2afc3209)
Signed-off-by: Ola Redell <ola.redell@retotech.se>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake/lib/bb/COW.py')
0 files changed, 0 insertions, 0 deletions