archive-source: also create a stash for submodules
commit84963b5bbfa0ef65bf09c774422643a61850aee8
authorMarc-André Lureau <marcandre.lureau@redhat.com>
Mon, 8 Jul 2019 20:02:49 +0000 (9 00:02 +0400)
committerAlex Bennée <alex.bennee@linaro.org>
Tue, 23 Jul 2019 14:53:25 +0000 (23 15:53 +0100)
tree482e827fdba21383d33389e1e6e7b73fa9994860
parent4da6c0f9ebbdaaf4315c71ccd288d02b9087f8af
archive-source: also create a stash for submodules

"git archive" fails when a submodule has a modification, because "git
stash create" doesn't handle submodules. Let's teach our
archive-source.sh to handle modifications in submodules the same way
as qemu tree, by creating a stash.

Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Message-Id: <20190708200250.12017-1-marcandre.lureau@redhat.com>
Tested-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
scripts/archive-source.sh