]> git.lizzy.rs Git - rust.git/commit
Rollup merge of #95722 - xu-cheng:pre-push, r=Mark-Simulacrum
authorMatthias Krüger <matthias.krueger@famsik.de>
Tue, 12 Apr 2022 06:46:56 +0000 (08:46 +0200)
committerGitHub <noreply@github.com>
Tue, 12 Apr 2022 06:46:56 +0000 (08:46 +0200)
commita899ebd10241518dcd08245cd736de3666d6b2ea
treefb9c05278c1c1568f378b543f458f6b5b4017111
parent1d3517907727ecd6fea3fc7132c4ae55b2d06958
parent365d4f4fd0caa3e4e1dd95eb42f7244e1424d37e
Rollup merge of #95722 - xu-cheng:pre-push, r=Mark-Simulacrum

pre-push.sh: Use python3 if python is not found

Since Python 2 has reached EOL, `python` may not be available in certain systems (e.g., recent macOS). We should use `python3` in this case to avoid error like `python: No such file or directory`.