diff options
| author | Mazdak Farrokhzad <twingoow@gmail.com> | 2019-10-21 22:00:51 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2019-10-21 22:00:51 +0200 |
| commit | 760cd9759ed963afe1e315d4fb27a110671066bb (patch) | |
| tree | 919a1aa6e4afbadfd89379f490bcc58697b4fb7d | |
| parent | 9072e108b5a871e87be23b7ed2c0c1f5c6fd70be (diff) | |
| parent | ebc9a1ab10ff813664778e572eaeef4a9c6fcf4f (diff) | |
| download | rust-760cd9759ed963afe1e315d4fb27a110671066bb.tar.gz rust-760cd9759ed963afe1e315d4fb27a110671066bb.zip | |
Rollup merge of #65653 - RalfJung:gitignore, r=Mark-Simulacrum,Centril
keep the root dir clean from debugging We landed this before with https://github.com/rust-lang/rust/pull/63307 but recently in https://github.com/rust-lang/rust/pull/65630 the IMO bad ignore crept back in. If you regularly do graphviz-based debugging and you are fine leaving junk in the rustc root dir, please configure your local `.git/info/exclude`. But most people working on rustc don't work with graphciz all that often (I for once never did), and not everyone likes to have stray generated files in their source dirs. Also Cc https://github.com/rust-lang/rust/pull/63373 https://github.com/rust-lang/rust/pull/53768 @ecstatic-morse @Mark-Simulacrum
| -rw-r--r-- | .gitignore | 14 |
1 files changed, 8 insertions, 6 deletions
diff --git a/.gitignore b/.gitignore index 1c47ed4c024..487867c375d 100644 --- a/.gitignore +++ b/.gitignore @@ -1,6 +1,10 @@ -# This file should only ignore things that are generated during a build, -# generated by common IDEs, and optional files controlled by the user -# that affect the build (such as config.toml). +# This file should only ignore things that are generated during a `x.py` build, +# generated by common IDEs, and optional files controlled by the user that +# affect the build (such as config.toml). +# In particular, things like `mir_dump` should not be listed here; they are only +# created during manual debugging and many people like to clean up instead of +# having git ignore such leftovers. You can use `.git/info/exclude` to +# configure your local ignore list. # FIXME: This needs cleanup. *~ .#* @@ -52,6 +56,4 @@ config.stamp Session.vim .cargo no_llvm_build -# Generated when dumping Graphviz output for debugging: -/mir_dump/ -/*.dot +# Before adding new lines, see the comment at the top. |
