add --ff-only to 'git pull ...' command line
This commit is contained in:
parent
161d198f7f
commit
093db6b1dc
2
vcs.mk
2
vcs.mk
@ -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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user