diff options
author | Harsh Shandilya <me@msfjarvis.dev> | 2022-10-07 18:06:22 +0530 |
---|---|---|
committer | Harsh Shandilya <me@msfjarvis.dev> | 2022-10-07 18:06:22 +0530 |
commit | 48ae52f9cfef9193207c4697b12873f01db339c5 (patch) | |
tree | 70af0e390a9321ea86e3a41d4c639060699a0d4a /scripts/pre-push-hook.sh | |
parent | fe666e9ecb066a5a221c7c8d761760f5928f908b (diff) |
refactor(build-logic): make `GitHooksTask` more lazy
Diffstat (limited to 'scripts/pre-push-hook.sh')
-rw-r--r-- | scripts/pre-push-hook.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/pre-push-hook.sh b/scripts/pre-push-hook.sh index c19d5aa6..9cfbc9e1 100644 --- a/scripts/pre-push-hook.sh +++ b/scripts/pre-push-hook.sh @@ -4,7 +4,7 @@ set -e set -u set -o pipefail -ZERO=$(git hash-object --stdin </dev/null | tr '[0-9a-f]' '0') +ZERO="0000000000000000000000000000000000000000" GRADLE_EXEC="${GRADLE_EXEC:-./gradlew}" while read local_ref local_oid remote_ref remote_oid; do |