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

Re: What's cooking in git.git (May 2023, #03; Tue, 9)

From
Junio C Hamano <gitster@pobox.com>
Date
May 10, 2023, 16:32 UTC
Message-ID
<xmqqpm785erg.fsf@gitster.g>
In-Reply-To
<20230510071935.7329-1-tenglong.tl@alibaba-inc.com>
Teng Long <dyroneteng@gmail.com> writes:
Show 11 quoted lines
>>* tl/notes-separator (2023-04-28) 6 commits
>>  (merged to 'next' on 2023-05-06 at 598ed19c9b)
>> + notes.c: introduce "--[no-]stripspace" option
>> + notes.c: append separator instead of insert by pos
>> + notes.c: introduce '--separator=<paragraph-break>' option
>
> Sorry, there is an updated optimization for the commit of the
> `--separator` option, which can be applied using the reply[1].
>
> Please also inform me if a new patch is needed and I will send
> it immediately.

Once a topic is in 'next', we update by queuing a new patch on top, so [1] is not quite sufficient.

As to the "char *" -> "const char *", I didn't check if there are places where we use the variable as "char *" and need changes other than the place the variable is defined to prevent compilers from complaining on type mismatches when I made the observation, out of which you made the change. In any case, "const char *" may be safer, but the code as posted is not wrong per-se, and I do not see it so urgent to fix.

The blank line also better sits between the decls and the first statement, but I do not see it so urgent to fix with an immediate patch, forging your sign-off and writing log message myself. It is something we can safely leave for a separate clean-up topic after the dust settles.

Thanks.
Previous: Teng Long
Message 5 of 5 in “What's cooking in git.git (May 2023, #03; Tue, 9)”
  1. Junio C HamanoMay 10, 2023
  2. tb/pack-bitmap-index-seekTaylor Blau, May 10, 2023
  3. Taylor BlauMay 10, 2023
  4. Teng LongMay 10, 2023
  5. Junio C HamanoMay 10, 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.