aboutsummaryrefslogtreecommitdiffstats
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 19:33:33 +0000
commit7f54e431eb0c8379b3177dd79f9016fe732fbae5 (patch)
treea557721ad2a727f9f4cfdf5367f4d8b6ce2090b8
parent779d3abbb1b02dc7510b058352487138b2e23f1c (diff)
Makefile: Fix `make upgrade` from same branch
Change-Id: I01d583995e0b557ec128111a3f5ff56684d9fb36 Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com> (cherry picked from commit 4eef836a99cd8c3c64e27adcb1e17ec5dc588116)
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index bd1ef6d..841b6b7 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