summaryrefslogtreecommitdiff
path: root/sh-i18n--envsubst.c
diff options
context:
space:
mode:
authorDenton Liu <liu.denton@gmail.com>2020-09-23 02:38:43 -0700
committerJunio C Hamano <gitster@pobox.com>2020-09-23 09:31:45 -0700
commit6a117da6e523a82115733682f4d3f59755897d5a (patch)
treedbb93c108c236466465959aa5c313c6981148c80 /sh-i18n--envsubst.c
parent47ae905ffb98cc4d4fd90083da6bc8dab55d9ecc (diff)
downloadgit-6a117da6e523a82115733682f4d3f59755897d5a.tar.gz
hooks--pre-push.sample: modernize script
The preferred form for a command substitution is $() over ``. Use this form for the command substitution in the sample hook. The preferred form for conditional tests is to use `test` over []. Replace [] with `test`. Finally, replace all instances of "sha" with "oid". Signed-off-by: Denton Liu <liu.denton@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'sh-i18n--envsubst.c')
0 files changed, 0 insertions, 0 deletions