diff options
author | Junio C Hamano <gitster@pobox.com> | 2015-01-07 13:10:40 -0800 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2015-01-07 13:10:40 -0800 |
commit | 06a8bbb41d15abf7520f0a2332799d8531a3c313 (patch) | |
tree | 3639829fcbb2df724a38a12c656c4b68218cb691 | |
parent | 487b17de3ea1842b91a739cf31a08130faa03856 (diff) | |
parent | 3af74cfb153e20277a1d22414f04249d90d34d5c (diff) | |
download | git-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-x | templates/hooks--pre-push.sample | 1 |
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 ] |