Commit 4178084a authored by Florent Lamiraux's avatar Florent Lamiraux Committed by Florent Lamiraux florent@laas.fr
Browse files

Improve target update.

  Do not create useless mpdification in working tree.
parent 6665d581
......@@ -331,10 +331,9 @@ update:
git remote rm origin;\
git remote add origin ${$(@:.update=)_repository}/$(@:.update=);\
git fetch origin;\
git checkout -b bce46g origin/${$(@:.update=)_branch};\
git branch -D ${$(@:.update=)_branch};\
git checkout -b ${$(@:.update=)_branch} bce46g;\
git branch -D bce46g;\
git checkout -q --detach;\
git branch -f ${$(@:.update=)_branch} origin/${$(@:.update=)_branch};\
git checkout -q ${$(@:.update=)_branch};\
git submodule update; \
fi
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment