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

Re: [GSoC PATCH 2/2] MyFirstContribution: add walken.c to meson.build

From
Patrick Steinhardt <ps@pks.im>
Date
May 30, 2025, 08:00 UTC
Message-ID
<aDlltNOH5pWBbwTQ@pks.im>
In-Reply-To
<20250529192036.75408-3-lucasseikioshiro@gmail.com>
On Thu, May 29, 2025 at 04:20:36PM -0300, Lucas Seiki Oshiro wrote:
Show 21 quoted lines
> diff --git a/Documentation/MyFirstObjectWalk.adoc b/Documentation/MyFirstObjectWalk.adoc
> index 29d26abb47..3b66e48dd9 100644
> --- a/Documentation/MyFirstObjectWalk.adoc
> +++ b/Documentation/MyFirstObjectWalk.adoc
> @@ -96,12 +96,19 @@ maintaining alphabetical ordering:
>  { "walken", cmd_walken, RUN_SETUP },
>  ----
>  
> -Add it to the `Makefile` near the line for `builtin/worktree.o`:
> +Add an entry for the new command in the file of our two build systems (Make
> +and Meson) before the entry for `worktree`:
>  
> +- In the `Makefile`:
>  ----
>  BUILTIN_OBJS += builtin/walken.o
>  ----
>  
> +- In the `meson.build` file:
> +----
> +  'builtin/walken.c',
> +----

It's a bit hard for the reader to know _where_ to add this. How about we say this instead:

    ----
    builtin_sources = [
      ...
     'builtin/walken.c',
      ...
    ]
    ----
That should make it was easier to figure out.
Patrick
Previous: Karthik NayakNext: Karthik Nayak
Message 6 of 11 in “Update MyFirstObjectWalk with struct repository and meson”
  1. 0/2 Update MyFirstObjectWalk with struct repository and mesonLucas Seiki Oshiro, May 29, 2025
  2. 1/2 MyFirstContribution: use struct repository in examplesLucas Seiki Oshiro, May 29, 2025
  3. Karthik NayakMay 29, 2025
  4. 2/2 MyFirstContribution: add walken.c to meson.buildLucas Seiki Oshiro, May 29, 2025
  5. Karthik NayakMay 29, 2025
  6. Patrick SteinhardtMay 30, 2025
  7. Karthik NayakMay 29, 2025
  8. 0/2 MyFirstObjectWalk: update with struct repository and mesonLucas Seiki Oshiro, Jun 2, 2025
  9. 2/2 MyFirstContribution: add walken.c to meson.buildLucas Seiki Oshiro, Jun 2, 2025
  10. 1/2 MyFirstContribution: use struct repository in examplesLucas Seiki Oshiro, Jun 2, 2025
  11. Patrick SteinhardtJun 3, 2025

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.