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

Re: [PATCH v4 2/3] docs: clarify cmd_psuh signature and explain UNUSED macro

From
Junio C Hamano <gitster@pobox.com>
Date
May 19, 2025, 17:55 UTC
Message-ID
<xmqq4ixgo57g.fsf@gitster.g>
In-Reply-To
<20250518074317.73367-3-jayatheerthkulkarni2005@gmail.com>
K Jayatheerth <jayatheerthkulkarni2005@gmail.com> writes:
Show 9 quoted lines
> diff --git a/Documentation/MyFirstContribution.adoc b/Documentation/MyFirstContribution.adoc
> index ef190d8748..da15d43d1f 100644
> --- a/Documentation/MyFirstContribution.adoc
> +++ b/Documentation/MyFirstContribution.adoc
> @@ -142,15 +142,31 @@ command in `builtin/psuh.c`. Create that file, and within it, write the entry
> ...
>  ----
> -int cmd_psuh(int argc, const char **argv, const char *prefix)
> +int cmd_psuh(int argc UNUSED, const char **argv UNUSED, 

I removed the new trailing whitespace on this line while queuing, so no need to resend only to fix this.

Thanks.
Previous: K JayatheerthNext: K Jayatheerth
Message 4 of 6 in “Update MyFirstContribution.adoc to follow modern practices”
  1. 0/3 Update MyFirstContribution.adoc to follow modern practicesK Jayatheerth, May 18, 2025
  2. 1/3 docs: remove unused mentoring mailing list referenceK Jayatheerth, May 18, 2025
  3. 2/3 docs: clarify cmd_psuh signature and explain UNUSED macroK Jayatheerth, May 18, 2025
  4. Junio C HamanoMay 19, 2025
  5. 3/3 docs: replace git_config to repo_configK Jayatheerth, May 18, 2025
  6. Junio C HamanoMay 19, 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.