git/list[1] front-page[2] threads[3] people[4] search[5] about
 

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

From
Kousik Sanagavarapu <five231003@gmail.com>
Date
Feb 8, 2023, 15:53 UTC
Message-ID
<20230208155350.186187-1-five231003@gmail.com>
In-Reply-To
<230207.86o7q52vxu.gmgdl@evledraar.gmail.com>
On Tue, 7 Feb 2023 at 23:35, Ævar Arnfjörð Bjarmason <avarab@gmail.com> wrote:
Show 5 quoted lines
>
>[...]
>
> Having said that, I think the existing version is fine, and we could
> just ascribe the issue that prompted this to a one-off mistake :)
I understand it now. Thanks.
Show 7 quoted lines
> I think if you want to pursue this, a much better improvement here would
> be to show what the user *should* do.
>
> E.g. show one code example of using the API in-place, and then the
> preferred pattern if one wants to produce a new reversed commit list,
> while retaining the original (presumably just copy_commit_list()
> followed by reverse_commit_list()).

Following the response by Junio, I think it's better off that I leave it this way?

Thanks, Kousik

Previous: Ævar Arnfjörð BjarmasonNext: Junio C Hamano
Message 3 of 5 in “commit: warn the usage of reverse_commit_list() helper”
  1. Kousik SanagavarapuFeb 7, 2023
  2. Ævar Arnfjörð BjarmasonFeb 7, 2023
  3. Kousik SanagavarapuFeb 8, 2023
  4. Junio C HamanoFeb 7, 2023
  5. Kousik SanagavarapuFeb 8, 2023

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.