about summary refs log tree commit diff
path: root/src/etc/pre-push.sh
diff options
context:
space:
mode:
authoronur-ozkan <work@onurozkan.dev>2024-06-19 07:33:12 +0300
committeronur-ozkan <work@onurozkan.dev>2024-06-19 07:33:12 +0300
commit279bf05ffbd363f7250e8c57667fdac0c629c7f7 (patch)
tree90672d9b94c4784e727de0130246e416ecac05ef /src/etc/pre-push.sh
parente794b0f8557c187b5909d889aa35071f81e0a4cc (diff)
downloadrust-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>
Diffstat (limited to 'src/etc/pre-push.sh')
-rwxr-xr-xsrc/etc/pre-push.sh2
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"