]> git.lizzy.rs Git - rust.git/commit
Make the pre-commit script pre-push instead
authorJoshua Nelson <jyn514@gmail.com>
Wed, 25 Aug 2021 00:51:53 +0000 (19:51 -0500)
committerJoshua Nelson <jyn514@gmail.com>
Wed, 25 Aug 2021 00:55:07 +0000 (19:55 -0500)
commit9d664b24f92fbbe22b3243014bb98f6878db30a9
treed387af77cd63b46ff0752fe897c82b52ab2005b7
parentb03ccace573bb91e27625c190a0f7807045a1012
Make the pre-commit script pre-push instead

This should make it substantially less annoying, and hopefully more
people will find it useful. In particular, it will no longer run tidy
each time you run `git commit --amend` or rebase a branch.

This also warns if you have the old script in pre-commit; see the HACK
comment for details.
src/bootstrap/bin/main.rs
src/bootstrap/setup.rs
src/etc/pre-commit.sh [deleted file]
src/etc/pre-push.sh [new file with mode: 0755]