summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlexandru Avadanii <Alexandru.Avadanii@enea.com>2017-12-29 20:34:25 +0100
committerAlexandru Avadanii <Alexandru.Avadanii@enea.com>2017-12-29 20:34:25 +0100
commit4eef836a99cd8c3c64e27adcb1e17ec5dc588116 (patch)
treecd225a2c35342fbec40f289c0a36c4eeca9ab809
parent74238bffbde967b83a6c9db762caf8a18430dcd2 (diff)
Makefile: Fix `make upgrade` from same branch
Change-Id: I01d583995e0b557ec128111a3f5ff56684d9fb36 Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index bd1ef6d5..841b6b71 100644
--- a/Makefile
+++ b/Makefile
@@ -35,7 +35,7 @@ all: upgrade
# Ignore release tag and upgrade Armband to latest change on <branch>/HEAD
.PHONY: upgrade
upgrade:
- @git fetch origin ${A_BRANCH}:${A_BRANCH}
+ @git fetch -u origin ${A_BRANCH}:${A_BRANCH}
@git checkout ${A_BRANCH}
@$(MAKE) -e submodules-clean patches-import