about summary refs log tree commit diff
path: root/compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2020-10-06 14:51:51 +0000
committerbors <bors@rust-lang.org>2020-10-06 14:51:51 +0000
commit9fdaeb393a16951f6fdef087193fef576e36aba6 (patch)
tree64d4bc18709a56c9aa4127bbf52a9a9e2c8017fc /compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp
parent08e2d4616613716362b4b49980ff303f2b9ae654 (diff)
parent0845627f73faa2322bc24421cf3dd1f5dd3005df (diff)
downloadrust-9fdaeb393a16951f6fdef087193fef576e36aba6.tar.gz
rust-9fdaeb393a16951f6fdef087193fef576e36aba6.zip
Auto merge of #76356 - caass:hooks, r=jyn514
Add a command to install a git hook to automatically run `x.py test tidy --bless`

Some folks (such as myself) would probably find a lot of convenience in a pre-commit hook that automatically runs tidy before committing, to avoid burning CI time learning that your commit wasn't tidy.

I'm absolutely positive I have missed some stuff. I basically just got this to where you can run `./x.py run install-git-hook` and then clicked the commit button. Please let me know what else you'd like me to add before this can be merged!

[rustc-dev-guide companion PR](https://github.com/rust-lang/rustc-dev-guide/pull/848)
Diffstat (limited to 'compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions