]> git.ipfire.org Git - thirdparty/git.git/commit - builtin/stash.c
revisions API users: add "goto cleanup" for release_revisions()
authorÆvar Arnfjörð Bjarmason <avarab@gmail.com>
Wed, 13 Apr 2022 20:01:40 +0000 (22:01 +0200)
committerJunio C Hamano <gitster@pobox.com>
Thu, 14 Apr 2022 06:56:09 +0000 (23:56 -0700)
commit0139c58ab951e8620d6066eb687d0a96e490436a
treebdf014371e9a7407c94c695e1d224eea4eda8d66
parent5e480176fed01aeb47735f525002203ac6e462d0
revisions API users: add "goto cleanup" for release_revisions()

Add a release_revisions() to various users of "struct rev_info" which
requires a minor refactoring to a "goto cleanup" pattern to use that
function.

Signed-off-by: Ævar Arnfjörð Bjarmason <avarab@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
builtin/diff-files.c
builtin/rev-list.c
builtin/stash.c
builtin/submodule--helper.c
sequencer.c
t/helper/test-fast-rebase.c