Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
tr2: do compiler enum check in trace2_collect_process_info()
Change code added in 2f732bf (tr2: log parent process name, 2021-07-21) to use a switch statement without a "default" branch to have the compiler error if this code ever drifts out of sync with the members of the "enum trace2_process_info_reason". Signed-off-by: Ævar Arnfjörð Bjarmason <avarab@gmail.com> Acked-by: Taylor Blau <me@ttaylorr.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
- Loading branch information