Subject: Re: [GSoC][PATCH] commit: warn the usage of reverse_commit_list() helper

From: Junio C Hamano <[email-masked]>
Date: Tue, 07 Feb 2023 10:53:10 -0800

Kousik Sanagavarapu <[email-masked]> writes:

> -/* Modify list in-place to reverse it, returning new head; list will be tail */
> +/*
> + * Modify list in-place to reverse it, returning new head; list will be tail.
> + *
> + * NOTE! The reversed list is constructed using the elements of the original
> + * list, hence losing the original list.
> + */

After re-reading the original, I realize that "in-place" is good
enough clue to say that this is destructive.