summaryrefslogtreecommitdiff
path: root/builtin/commit.c
diff options
context:
space:
mode:
authorÆvar Arnfjörð Bjarmason <avarab@gmail.com>2022-04-13 22:01:45 +0200
committerJunio C Hamano <gitster@pobox.com>2022-04-13 23:56:09 -0700
commite966fc5a89b4db275f3855cfdff157c1a759c7c1 (patch)
treeed0d4404b94a37ca7bdefd2bf7e2251c96c14efd /builtin/commit.c
parentf0cb6b8053eb9146e9d5255b6b0473d020c6e8bd (diff)
revisions API: have release_revisions() release "commits"
Extend the the release_revisions() function so that it frees the "commits" in the "struct rev_info". We don't expect to use this "struct rev_info" again, so there's no reason to NULL out revs->commits, as e.g. simplify_merges() and create_boundary_commit_list() do. 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