Skip to content

Commit 06a8bbb

Browse files
committed
Merge branch 'jh/pre-push-sample-no-custom-ifs'
The sample pre-push hook used customized IFS=' ' for no good reason. * jh/pre-push-sample-no-custom-ifs: pre-push.sample: remove unnecessary and misleading IFS=' '
2 parents 487b17d + 3af74cf commit 06a8bbb

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

templates/hooks--pre-push.sample

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,6 @@ url="$2"
2424

2525
z40=0000000000000000000000000000000000000000
2626

27-
IFS=' '
2827
while read local_ref local_sha remote_ref remote_sha
2928
do
3029
if [ "$local_sha" = $z40 ]

0 commit comments

Comments
 (0)