Skip to content

Commit 451bade

Browse files
committed
Run fetch before testing if master contains beta
1 parent c19ca0e commit 451bade

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

doc/release.md

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,14 @@ to the beta Rust release. The remerge is then necessary, to make sure that the
6363
Clippy commit, that was used by the now stable Rust release, persists in the
6464
tree of the Clippy repository.
6565

66-
To find out if this step is necessary run `git branch master --contains beta`.
66+
To find out if this step is necessary run
67+
68+
```bash
69+
# Assumes that the local master branch is up-to-date
70+
$ git fetch upstream
71+
$ git branch master --contains upstream/beta
72+
```
73+
6774
If this command outputs `master`, this step is **not** necessary.
6875

6976
```bash

0 commit comments

Comments
 (0)