diff options
author | Ævar Arnfjörð Bjarmason <avarab@gmail.com> | 2021-04-06 14:00:36 (GMT) |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2021-04-06 19:57:06 (GMT) |
commit | d21616c0394d3339c619409995e48b8cbc0f4e08 (patch) | |
tree | 6fb40125df7166fa48a813050316c6c4abc6d595 /t | |
parent | e585210e1bfc5f948bce99596ea9d5e8a6d5cd81 (diff) | |
download | git-d21616c0394d3339c619409995e48b8cbc0f4e08.zip git-d21616c0394d3339c619409995e48b8cbc0f4e08.tar.gz git-d21616c0394d3339c619409995e48b8cbc0f4e08.tar.bz2 |
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')
0 files changed, 0 insertions, 0 deletions