make: more git magic

This commit is contained in:
Franco Fichtner 2021-01-11 08:57:31 +01:00
parent 6000c02a4f
commit 1b0ebb2c8b

View File

@ -406,6 +406,7 @@ ${_TARGET}_ARG= ${${_TARGET}_ARGS:[0]}
ensure-stable:
@if ! git show-ref --verify --quiet refs/heads/stable/${CORE_ABI}; then \
git update-ref refs/heads/stable/${CORE_ABI} refs/remotes/origin/stable/${CORE_ABI}; \
git config branch.stable/20.7.merge refs/heads/stable/${CORE_ABI}; \
fi
diff: ensure-stable