refactor(build-logic): make GitHooksTask more lazy

This commit is contained in:
Harsh Shandilya 2022-10-07 18:06:22 +05:30
parent fe666e9ecb
commit 48ae52f9cf
No known key found for this signature in database
3 changed files with 18 additions and 10 deletions

View file

@ -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