topdir.mk: git-get-% -> current-branch

Currently git-get-% pulls into the master branch. Change that to pull
into the branch currently checked out in the workspace, because
that's the more likely use case if you want a quick update from
somewhere.

Signed-off-by: Jan Lindemann <jan@janware.com>
This commit is contained in:
Jan Lindemann 2026-02-21 12:08:47 +01:00
commit 9aba15cd88
2 changed files with 1 additions and 6 deletions

View file

@ -239,9 +239,6 @@ SCM_ADD = cvs add
SCM_PUSH =
SCM_PULL = cvs update -dP
get-maintainer:
$(SCM_PULL)
define check_scm_sync
echo + checking cvs ;\
$(SCM_PULL) ;\
@ -268,8 +265,6 @@ SCM_ADD = git add
SCM_PUSH = git push
SCM_PULL = make git-get-maintainer
get-maintainer: git-get-maintainer
define check_scm_sync
echo + checking git ;\
$(SCM_PULL) || {\