diff options
author | Alexandru Avadanii <Alexandru.Avadanii@enea.com> | 2016-04-17 15:00:39 +0200 |
---|---|---|
committer | Alexandru Avadanii <Alexandru.Avadanii@enea.com> | 2016-04-17 15:04:59 +0200 |
commit | fa47cae0599281bf3ae3c8d7b4816b22d39e3583 (patch) | |
tree | 79959c5883dc20a639eff3d6741587ba8a5891cb /Makefile | |
parent | bc97394b41507955e58793df6859882ebb540ee4 (diff) |
Makefile: submodules-clean: Add 'git am --abort'.
Sometimes patches fail to apply cleanly on patches-import, usually
due to upstream changes.
submodules-clean removes tags and resets HEAD, so it should also
try aborting the git am command.
Change-Id: I7e839383cbcde60deaf9266f24512f985b0b642e
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -11,7 +11,8 @@ submodules-init: # Cleans any changes made to submodules submodules-clean: @git submodule -q foreach \ - 'git checkout -q armband-workbench-root; \ + 'git am --abort; \ + git checkout -q armband-workbench-root; \ git branch -q -D armband-workbench; \ git tag -d armband-workbench-root; \ git reset -q --hard HEAD; git clean -xdff' |