diff options
author | Denton Liu <liu.denton@gmail.com> | 2020-09-23 02:38:43 -0700 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2020-09-23 09:31:45 -0700 |
commit | 6a117da6e523a82115733682f4d3f59755897d5a (patch) | |
tree | dbb93c108c236466465959aa5c313c6981148c80 /submodule.h | |
parent | Git 2.28 (diff) | |
download | tgif-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 'submodule.h')
0 files changed, 0 insertions, 0 deletions