Skip to content

Commit 132b997

Browse files
committed
Don't rise warning for unused vars in sample
1 parent 371ba6c commit 132b997

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

pre-push.sample

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22

33
zero="$(git hash-object --stdin </dev/null | tr '0-9a-f' '0')"
44

5+
# shellcheck disable=SC2034
56
while read -r local_ref local_oid remote_ref remote_oid
67
do
78
if [ "$local_oid" = "$zero" ]; then

0 commit comments

Comments
 (0)