summaryrefslogtreecommitdiff
path: root/commit-reach.h
diff options
context:
space:
mode:
authorLibravatar Denton Liu <liu.denton@gmail.com>2020-09-23 02:38:43 -0700
committerLibravatar Junio C Hamano <gitster@pobox.com>2020-09-23 09:31:45 -0700
commit6a117da6e523a82115733682f4d3f59755897d5a (patch)
treedbb93c108c236466465959aa5c313c6981148c80 /commit-reach.h
parentGit 2.28 (diff)
downloadtgif-6a117da6e523a82115733682f4d3f59755897d5a.tar.xz
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 'commit-reach.h')
0 files changed, 0 insertions, 0 deletions