summaryrefslogtreecommitdiff
path: root/t/t3701-add-interactive.sh
diff options
context:
space:
mode:
authorLibravatar Denton Liu <liu.denton@gmail.com>2020-03-26 04:27:49 -0400
committerLibravatar Junio C Hamano <gitster@pobox.com>2020-03-27 10:56:38 -0700
commit3227ddc97f7e268488791161a88760dbdaf4e6a9 (patch)
tree4c46b42f2c6effd14babcb827e974a26d72b8b62 /t/t3701-add-interactive.sh
parentt5512: don't use `test_must_fail test_cmp` (diff)
downloadtgif-3227ddc97f7e268488791161a88760dbdaf4e6a9.tar.xz
t5512: stop losing git exit code in here-docs
The expected references are generated using a here-doc with some inline command substitutions. If one of the `git rev-parse` invocations within the command substitutions fails, its return code is swallowed and we won't know about it. Replace these command substitutions with generate_references(), which actually reports when `git rev-parse` fails. Signed-off-by: Denton Liu <liu.denton@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t3701-add-interactive.sh')
0 files changed, 0 insertions, 0 deletions