summaryrefslogtreecommitdiff
path: root/commit.c
diff options
context:
space:
mode:
authorÆvar Arnfjörð Bjarmason <avarab@gmail.com>2023-02-06 20:08:06 +0100
committerJunio C Hamano <gitster@pobox.com>2023-02-06 16:03:52 -0800
commit01fd5fb14b4f2a910679cf2ac672ff6b1d742f19 (patch)
tree4e54883d0a2f3c214930ffc493a9744c99fadda3 /commit.c
parenta6a323b31e2bcbac2518bddec71ea7ad558870eb (diff)
rebase: use "cleanup" pattern in do_interactive_rebase()
Use a "goto cleanup" pattern in do_interactive_rebase(). This eliminates some duplicated free() code added in 53bbcfbde7c (rebase -i: implement the main part of interactive rebase as a builtin, 2018-09-27), and sets us up for a subsequent commit which'll make further use of the "cleanup" label. Signed-off-by: Ævar Arnfjörð Bjarmason <avarab@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'commit.c')
0 files changed, 0 insertions, 0 deletions