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 /builtin/commit.c | |
parent | e585210e1bfc5f948bce99596ea9d5e8a6d5cd81 (diff) |
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 'builtin/commit.c')
0 files changed, 0 insertions, 0 deletions