git-cvs-bridge.mk: Add support for GIT_CVSIMPORT_EXTRA_ARGS

Signed-off-by: Jan Lindemann <jan@janware.com>
This commit is contained in:
Jan Lindemann 2019-01-08 11:03:36 +00:00
commit bb58932e24

View file

@ -1,5 +1,6 @@
# is "origin" by default, but this clashes with the remote's name in some situations # is "origin" by default, but this clashes with the remote's name in some situations
CVS_HEAD_BRANCH ?= cvs-head CVS_HEAD_BRANCH ?= cvs-head
GIT_CVSIMPORT_EXTRA_ARGS ?=
all: all:
@ -11,5 +12,5 @@ git2cvs:
endif endif
else ifeq ($(VCS),git) else ifeq ($(VCS),git)
cvs2git: cvs2git:
git cvsimport -o $(CVS_HEAD_BRANCH) -v -kk proj/$(PROJECT) git cvsimport -o $(CVS_HEAD_BRANCH) -v -kk proj/$(PROJECT) $(GIT_CVSIMPORT_EXTRA_ARGS)
endif endif