about summary refs log tree commit diff
diff options
context:
space:
mode:
authorflip1995 <hello@philkrones.com>2020-04-23 23:24:58 +0200
committerflip1995 <hello@philkrones.com>2020-04-23 23:25:35 +0200
commit451badeddf0c7ea13353bdd3f3fa3cf690bc22d9 (patch)
treef37f42a945cdfa41e93023d562f634d7caee787a
parentc19ca0e8a8d6b8e04d635af617a80cf63aed1abc (diff)
downloadrust-451badeddf0c7ea13353bdd3f3fa3cf690bc22d9.tar.gz
rust-451badeddf0c7ea13353bdd3f3fa3cf690bc22d9.zip
Run fetch before testing if master contains beta
-rw-r--r--doc/release.md9
1 files changed, 8 insertions, 1 deletions
diff --git a/doc/release.md b/doc/release.md
index 12bfe5a1487..9d69fa8a7f6 100644
--- a/doc/release.md
+++ b/doc/release.md
@@ -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