Skip to content

Commit

Permalink
Rollup merge of #87942 - oconnor663:pre_commit_exec, r=jyn514
Browse files Browse the repository at this point in the history
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 b908905 of
#85305. It's possible that was
unintentional.
  • Loading branch information
JohnTitor authored Aug 12, 2021
2 parents 12117e3 + a0103e5 commit 334f09b
Showing 1 changed file with 0 additions and 0 deletions.
Empty file modified src/etc/pre-commit.sh
100644 → 100755
Empty file.

0 comments on commit 334f09b

Please sign in to comment.