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-12 17:48:06 +0000 |
commit | c05e1396625b14e66d795408ea2ae4cd2afc3209 (patch) | |
tree | 220f5b0095063c49a89560fb394fd55041371617 /bin/toaster | |
parent | 99d3703edd77a21770b366c6ad65a3c0f5183493 (diff) | |
download | bitbake-contrib-c05e1396625b14e66d795408ea2ae4cd2afc3209.tar.gz |
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.
Signed-off-by: Ola Redell <ola.redell@retotech.se>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bin/toaster')
0 files changed, 0 insertions, 0 deletions