Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/src/arch-nspawn.in
diff options
context:
space:
mode:
authorLevente Polyak <anthraxx@archlinux.org>2023-01-12 19:15:14 +0100
committerLevente Polyak <anthraxx@archlinux.org>2023-05-20 00:08:11 +0200
commitcddba60958d7aba15dac06acfc697b81e31581a1 (patch)
treedec9e1d920f8ab3a3b19e52fdc5c7a4458fe7258 /src/arch-nspawn.in
parentf1673c60adff196d9b1c7c97797c5775b3bdb56a (diff)
archrelease: add checks for valid remote and up-to-date branch ref
It's safest to probe for the validity of the remote origin and abort early otherwise. This also allows to print some hints how to create or configure new repositories at appropriate times. Additionally fetch remote changes and check the local branch contains the remote branch ref, otherwise abort and print a hint how to pull and update the branch. This should add all check needed for the average failure case that may lead to a weird state or creation of a local tag that may not be pushable. Signed-off-by: Levente Polyak <anthraxx@archlinux.org>
Diffstat (limited to 'src/arch-nspawn.in')
0 files changed, 0 insertions, 0 deletions