From 494cb5fc4fbe90d7a4b27e1d1114cb20840883d3 Mon Sep 17 00:00:00 2001 From: Harsh Shandilya Date: Mon, 1 Nov 2021 11:11:53 +0530 Subject: scripts/pre-push-hook: skip checks when deleting a branch --- scripts/pre-push-hook.sh | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'scripts') diff --git a/scripts/pre-push-hook.sh b/scripts/pre-push-hook.sh index 78dafecb..e9b29f92 100644 --- a/scripts/pre-push-hook.sh +++ b/scripts/pre-push-hook.sh @@ -4,6 +4,11 @@ set -e set -u set -o pipefail +ZERO=$(git hash-object --stdin