add --ff-only to 'git pull ...' command line

This commit is contained in:
Kai Tetzlaff (moka.tetzco.de) 2021-02-05 15:12:23 +01:00
parent 161d198f7f
commit 093db6b1dc

2
vcs.mk
View File

@ -138,7 +138,7 @@ define GIT_TMPL
@echo +++ Updating[git]: $$(patsubst pull-%,%,$$@) $(SHQ)($2$(SHQ))
@echo ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
$$(pre_up_cmd-$1)
cd $1 && $(GIT) pull $(GITPULL_FLAGS)
cd $1 && $(GIT) pull --ff-only $(GITPULL_FLAGS)
$$(post_up_cmd-$1)
endif