diff options
| author | Johannes Schindelin <johannes.schindelin@gmx.de> | 2025-05-15 13:11:47 +0000 |
|---|---|---|
| committer | Junio C Hamano <gitster@pobox.com> | 2025-05-15 13:46:48 -0700 |
| commit | ee63d026b407118221aca455a9c4f03a08ecf648 (patch) | |
| tree | 4df7ab5c988e0ba02cb9a7aa4b95e2b165e6d920 /help.c | |
| parent | trace2: avoid "futile conditional" (diff) | |
| download | git-ee63d026b407118221aca455a9c4f03a08ecf648.tar.gz git-ee63d026b407118221aca455a9c4f03a08ecf648.zip | |
commit-graph: avoid using stale stack addresses
The code is a bit too hard to reason about to fully assess whether the
`fill_commit_graph_info()` function is called at all after
`write_commit_graph()` returns (and hence the stack variable
`topo_levels` goes out of context).
Let's simply make sure that the stack address is no longer used at that
stage, thereby making the code quite a bit easier to reason about.
Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'help.c')
0 files changed, 0 insertions, 0 deletions
