diff options
| author | onur-ozkan <work@onurozkan.dev> | 2024-06-19 07:33:12 +0300 |
|---|---|---|
| committer | onur-ozkan <work@onurozkan.dev> | 2024-06-19 07:33:12 +0300 |
| commit | 279bf05ffbd363f7250e8c57667fdac0c629c7f7 (patch) | |
| tree | 90672d9b94c4784e727de0130246e416ecac05ef | |
| parent | e794b0f8557c187b5909d889aa35071f81e0a4cc (diff) | |
| download | rust-279bf05ffbd363f7250e8c57667fdac0c629c7f7.tar.gz rust-279bf05ffbd363f7250e8c57667fdac0c629c7f7.zip | |
remove `GIT_DIR` handling in pre-push hook
This is already handled from bootstrap at https://github.com/rust-lang/rust/blob/a1ca449981e3b8442e358026437b7bedb9a1458e/src/bootstrap/src/utils/helpers.rs#L504-L506. Signed-off-by: onur-ozkan <work@onurozkan.dev>
| -rwxr-xr-x | src/etc/pre-push.sh | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/etc/pre-push.sh b/src/etc/pre-push.sh index c9e1a2733fd..6f86c7ab8a4 100755 --- a/src/etc/pre-push.sh +++ b/src/etc/pre-push.sh @@ -7,8 +7,6 @@ set -Euo pipefail -# https://github.com/rust-lang/rust/issues/77620#issuecomment-705144570 -unset GIT_DIR ROOT_DIR="$(git rev-parse --show-toplevel)" echo "Running pre-push script $ROOT_DIR/x test tidy" |
