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 b908905b3d
of
https://github.com/rust-lang/rust/pull/85305. It's possible that was
unintentional.
This commit is contained in:
parent
362e0f55eb
commit
a0103e50d5
1 changed files with 0 additions and 0 deletions
0
src/etc/pre-commit.sh
Normal file → Executable file
0
src/etc/pre-commit.sh
Normal file → Executable file
Loading…
Add table
Reference in a new issue