mirror of
ssh://git.janware.com/janware/proj/jw-pkg
synced 2026-04-24 09:13:37 +02:00
projects-dir.mk: Fetch to current branch by default
To be explicit about what's happening during make fetch, default the fetch refspec to $(CLONE_FROM_USER):current-branch:current-branch. Signed-off-by: Jan Lindemann <jan@janware.com>
This commit is contained in:
parent
93b2a2f222
commit
8074abad5d
1 changed files with 1 additions and 1 deletions
|
|
@ -127,7 +127,7 @@ ifneq ($(JANWARE_USER),)
|
||||||
PGIT_SH_OPTS_NETWORK += --login $(JANWARE_USER)
|
PGIT_SH_OPTS_NETWORK += --login $(JANWARE_USER)
|
||||||
endif
|
endif
|
||||||
ifneq ($(CLONE_FROM_USER),)
|
ifneq ($(CLONE_FROM_USER),)
|
||||||
PGIT_SH_CLONE_DEFAULT += --refspec $(CLONE_FROM_USER)
|
PGIT_SH_CLONE_DEFAULT += --refspec $(CLONE_FROM_USER):current-branch:current-branch
|
||||||
endif
|
endif
|
||||||
ifneq ($(OFFLINE_PROJECTS),)
|
ifneq ($(OFFLINE_PROJECTS),)
|
||||||
export PGIT_IGNORE = $(OFFLINE_PROJECTS)
|
export PGIT_IGNORE = $(OFFLINE_PROJECTS)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue