about summary refs log tree commit diff
path: root/compiler/rustc_codegen_llvm/src
diff options
context:
space:
mode:
authorJack O'Connor <oconnor663@gmail.com>2021-08-11 14:57:35 -0400
committerJack O'Connor <oconnor663@gmail.com>2021-08-11 15:06:33 -0400
commita0103e50d51832958b5aca55a03ebf74ba46d64f (patch)
treefe251e02c7ae9b0f505c6feeed594c28349b9c5b /compiler/rustc_codegen_llvm/src
parent362e0f55eb1f36d279e5c4a58fb0fe5f9a2c579d (diff)
downloadrust-a0103e50d51832958b5aca55a03ebf74ba46d64f.tar.gz
rust-a0103e50d51832958b5aca55a03ebf74ba46d64f.zip
set the executable bit on pre-commit.sh
`x.py setup` hardlinks this file into .git/hooks. Prior to this commit,
that led to the following warning emitted by `git commit`:

    hint: The '.git/hooks/pre-commit' hook was ignored because it's not set as executable.

Making the checked-in script executable fixes this issue, as the
hardlinked copy uses the same flags.

It looks like the file was originally executable, but that bit was
unset in commit b908905b3defa075d08661dc5916219a870b4856 of
https://github.com/rust-lang/rust/pull/85305. It's possible that was
unintentional.
Diffstat (limited to 'compiler/rustc_codegen_llvm/src')
0 files changed, 0 insertions, 0 deletions