Run fetch before testing if master contains beta

This commit is contained in:
flip1995 2020-04-23 23:24:58 +02:00
parent c19ca0e8a8
commit 451badeddf
No known key found for this signature in database
GPG Key ID: 2CEFCDB27ED0BE79

View File

@ -63,7 +63,14 @@ to the beta Rust release. The remerge is then necessary, to make sure that the
Clippy commit, that was used by the now stable Rust release, persists in the
tree of the Clippy repository.
To find out if this step is necessary run `git branch master --contains beta`.
To find out if this step is necessary run
```bash
# Assumes that the local master branch is up-to-date
$ git fetch upstream
$ git branch master --contains upstream/beta
```
If this command outputs `master`, this step is **not** necessary.
```bash