about summary refs log tree commit diff
path: root/compiler/rustc_codegen_llvm/src
diff options
context:
space:
mode:
authorYuki Okushi <jtitor@2k36.org>2021-08-12 15:32:59 +0900
committerGitHub <noreply@github.com>2021-08-12 15:32:59 +0900
commit334f09b90b0a62778ef0d70c8793ede58c5dffde (patch)
tree881a581d1c1fdf654272baa50fe703f7b8145081 /compiler/rustc_codegen_llvm/src
parent12117e3f54cbc988990b85e688b51fbcca154319 (diff)
parenta0103e50d51832958b5aca55a03ebf74ba46d64f (diff)
downloadrust-334f09b90b0a62778ef0d70c8793ede58c5dffde.tar.gz
rust-334f09b90b0a62778ef0d70c8793ede58c5dffde.zip
Rollup merge of #87942 - oconnor663:pre_commit_exec, r=jyn514
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