summaryrefslogtreecommitdiff
path: root/builtin/commit.c
diff options
context:
space:
mode:
authorÆvar Arnfjörð Bjarmason <avarab@gmail.com>2021-04-06 16:00:36 +0200
committerJunio C Hamano <gitster@pobox.com>2021-04-06 12:57:06 -0700
commitd21616c0394d3339c619409995e48b8cbc0f4e08 (patch)
tree6fb40125df7166fa48a813050316c6c4abc6d595 /builtin/commit.c
parente585210e1bfc5f948bce99596ea9d5e8a6d5cd81 (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