about summary refs log tree commit diff
path: root/src/etc/pre-commit.sh
AgeCommit message (Collapse)AuthorLines
2021-08-11set the executable bit on pre-commit.shJack O'Connor-0/+0
`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.
2021-06-04changeded bindings_after_at from active to acceptedmarcusdunn-0/+0
2021-02-24fix typo in `pre-commit.sh`katelyn martin-1/+1
2020-10-07Unset GIT_DIR in pre-commit hookJoshua Nelson-4/+6
Works around https://github.com/rust-lang/rust/issues/77620
2020-10-05Clean up pre-commit.shCassandra Fridkin-5/+4
2020-10-05Move script to src/etcCassandra Fridkin-0/+22