pgit.sh: Rename command "clone" to "get"

"clone"  in the Git sense means to copy a remote project over from
scratch. pgit.sh clone has come from that, but has since evolved into
something different, a mixture of clone, pull and fetch, so find a
different name. "get" seems generic enough and doesn't clash with a
Git meaning. Adapt variable names accordingly across the project.

Signed-off-by: Jan Lindemann <jan@janware.com>
This commit is contained in:
Jan Lindemann 2026-02-21 09:29:11 +01:00
commit f86634a1d1
4 changed files with 38 additions and 43 deletions

View file

@ -239,7 +239,7 @@ SCM_ADD = cvs add
SCM_PUSH =
SCM_PULL = cvs update -dP
pull-maintainer:
get-maintainer:
$(SCM_PULL)
define check_scm_sync
@ -266,9 +266,9 @@ else
SCM_COMMIT = git commit
SCM_ADD = git add
SCM_PUSH = git push
SCM_PULL = make git-pull-maintainer
SCM_PULL = make git-get-maintainer
pull-maintainer: git-pull-maintainer
get-maintainer: git-get-maintainer
define check_scm_sync
echo + checking git ;\
@ -344,7 +344,7 @@ pkg-rebuild-reinstall: pkg-clean pkg-build pkg-reinstall
# doesn't work
# pkg-release-update: pkg-release pkg-update
pkg-release-reinstall: pull-maintainer
pkg-release-reinstall: get-maintainer
$(PKG_SH) release $(PKG_SH_BUILD_OPTS)
ifneq ($(TARGET_HOST),)
pkg-remote-install: