phase1: add further Git clone/pull safety guards
authorJo-Philipp Wich <jo@mein.io>
Tue, 25 Jun 2019 18:38:44 +0000 (20:38 +0200)
committerJo-Philipp Wich <jo@mein.io>
Tue, 25 Jun 2019 18:38:44 +0000 (20:38 +0200)
commite536231daf665fc2c0d303ce5d574e2599554c45
tree8d14afa75d5f08def6a3f48a639d042ad80cf4ef
parent96b42e4128b3fd30c192277c8c2b1ae2e29b127c
phase1: add further Git clone/pull safety guards

- Ensure that we're on a valid branch before invoking buildbot Git()
- Verify that we did end up on a proper branch or tag after clone/pull

Ref: http://lists.infradead.org/pipermail/openwrt-devel/2019-June/017809.html
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
phase1/master.cfg