diff options
| author | Jack O'Connor <oconnor663@gmail.com> | 2021-08-11 14:57:35 -0400 |
|---|---|---|
| committer | Jack O'Connor <oconnor663@gmail.com> | 2021-08-11 15:06:33 -0400 |
| commit | a0103e50d51832958b5aca55a03ebf74ba46d64f (patch) | |
| tree | fe251e02c7ae9b0f505c6feeed594c28349b9c5b | |
| parent | 362e0f55eb1f36d279e5c4a58fb0fe5f9a2c579d (diff) | |
| download | rust-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.
| -rwxr-xr-x[-rw-r--r--] | src/etc/pre-commit.sh | 0 |
1 files changed, 0 insertions, 0 deletions
diff --git a/src/etc/pre-commit.sh b/src/etc/pre-commit.sh
index 9045adb54dc..9045adb54dc 100644..100755
--- a/src/etc/pre-commit.sh
+++ b/src/etc/pre-commit.sh
|
