List Clippy as a subtree, instead of a submodule

This commit is contained in:
flip1995 2020-05-03 15:58:30 +02:00
parent 53d3bc02ed
commit 1b155623d8
No known key found for this signature in database
GPG Key ID: 2CEFCDB27ED0BE79
1 changed files with 2 additions and 3 deletions

View File

@ -193,7 +193,7 @@ it can be found [here][rctd].
As a developer to this repository, you don't have to treat the following external projects As a developer to this repository, you don't have to treat the following external projects
differently from other crates that are directly in this repo: differently from other crates that are directly in this repo:
* none so far, see https://github.com/rust-lang/rust/issues/70651 for more info * Clippy
They are just regular files and directories. This is in contrast to `submodule` dependencies They are just regular files and directories. This is in contrast to `submodule` dependencies
(see below for those). Only tool authors will actually use any operations here. (see below for those). Only tool authors will actually use any operations here.
@ -247,7 +247,7 @@ git subtree add -P src/tools/clippy https://github.com/rust-lang/rust-clippy.git
This will create a new commit, which you may not rebase under any circumstances! Delete the commit This will create a new commit, which you may not rebase under any circumstances! Delete the commit
and redo the operation if you need to rebase. and redo the operation if you need to rebase.
Now you're done, the `src/tools/clippy` directory behaves as if clippy were part of the rustc Now you're done, the `src/tools/clippy` directory behaves as if Clippy were part of the rustc
monorepo, so no one but you (or others that synchronize subtrees) actually needs to use `git subtree`. monorepo, so no one but you (or others that synchronize subtrees) actually needs to use `git subtree`.
@ -255,7 +255,6 @@ monorepo, so no one but you (or others that synchronize subtrees) actually needs
Currently building Rust will also build the following external projects: Currently building Rust will also build the following external projects:
* [clippy](https://github.com/rust-lang/rust-clippy)
* [miri](https://github.com/rust-lang/miri) * [miri](https://github.com/rust-lang/miri)
* [rustfmt](https://github.com/rust-lang/rustfmt) * [rustfmt](https://github.com/rust-lang/rustfmt)
* [rls](https://github.com/rust-lang/rls/) * [rls](https://github.com/rust-lang/rls/)