diff options
author | Ævar Arnfjörð Bjarmason <avarab@gmail.com> | 2021-04-06 16:00:36 +0200 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2021-04-06 12:57:06 -0700 |
commit | d21616c0394d3339c619409995e48b8cbc0f4e08 (patch) | |
tree | 6fb40125df7166fa48a813050316c6c4abc6d595 /t/t5407-post-rewrite-hook.sh | |
parent | git-send-email: test full --validate output (diff) | |
download | tgif-d21616c0394d3339c619409995e48b8cbc0f4e08.tar.xz |
git-send-email: refactor duplicate $? checks into a function
Refactor the duplicate checking of $? into a function. There's an
outstanding series[1] wanting to add a third use of system() in this
file, let's not copy this boilerplate anymore when that happens.
1. http://lore.kernel.org/git/87y2esg22j.fsf@evledraar.gmail.com
Signed-off-by: Ævar Arnfjörð Bjarmason <avarab@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t5407-post-rewrite-hook.sh')
0 files changed, 0 insertions, 0 deletions