diff options
author | Denton Liu <liu.denton@gmail.com> | 2020-03-26 04:27:49 -0400 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2020-03-27 10:56:38 -0700 |
commit | 3227ddc97f7e268488791161a88760dbdaf4e6a9 (patch) | |
tree | 4c46b42f2c6effd14babcb827e974a26d72b8b62 /t/t7405-submodule-merge.sh | |
parent | t5512: don't use `test_must_fail test_cmp` (diff) | |
download | tgif-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/t7405-submodule-merge.sh')
0 files changed, 0 insertions, 0 deletions