summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2015-01-07 13:10:40 -0800
committerJunio C Hamano <gitster@pobox.com>2015-01-07 13:10:40 -0800
commit06a8bbb41d15abf7520f0a2332799d8531a3c313 (patch)
tree3639829fcbb2df724a38a12c656c4b68218cb691
parent487b17de3ea1842b91a739cf31a08130faa03856 (diff)
parent3af74cfb153e20277a1d22414f04249d90d34d5c (diff)
downloadgit-06a8bbb41d15abf7520f0a2332799d8531a3c313.tar.gz
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=' '
-rwxr-xr-xtemplates/hooks--pre-push.sample1
1 files changed, 0 insertions, 1 deletions
diff --git a/templates/hooks--pre-push.sample b/templates/hooks--pre-push.sample
index 69e3c67b00..6187dbf439 100755
--- a/templates/hooks--pre-push.sample
+++ b/templates/hooks--pre-push.sample
@@ -24,7 +24,6 @@ url="$2"
z40=0000000000000000000000000000000000000000
-IFS=' '
while read local_ref local_sha remote_ref remote_sha
do
if [ "$local_sha" = $z40 ]