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

Re: [PATCH] doc: fix hex code escapes in git-ls-files

From
Junio C Hamano <gitster@pobox.com>
Date
Jul 26, 2024, 17:52 UTC
Message-ID
<xmqq1q3gvy5s.fsf@gitster.g>
In-Reply-To
<xmqqh6ccvz2v.fsf@gitster.g>
Junio C Hamano <gitster@pobox.com> writes:
Show 12 quoted lines
>>  --format=<format>::
>>   A string that interpolates `%(fieldname)` from the result being shown.
>> - It also interpolates `%%` to `%`, and `%xx` where `xx` are hex digits
>> - interpolates to character with hex code `xx`; for example `%00`
>> - interpolates to `\0` (NUL), `%09` to `\t` (TAB) and %0a to `\n` (LF).
>> + It also interpolates `%%` to `%`, and `%xXX` where `XX` are hex digits
>> + interpolates to character with hex code `XX`; for example `%x00`
>> + interpolates to `\0` (NUL), `%x09` to `\t` (TAB) and %x0a to `\n` (LF).
>>   --format cannot be combined with `-s`, `-o`, `-k`, `-t`, `--resolve-undo`
>>   and `--eol`.
>
> The change looks good.

I do not know what your MUA did to it, but this won't apply as a patch.

Previous: Junio C Hamano
Message 3 of 3 in “doc: fix hex code escapes in git-ls-files”
  1. doc: fix hex code escapes in git-ls-filesJayson Rhynas, Jul 26, 2024
  2. Junio C HamanoJul 26, 2024
  3. Junio C HamanoJul 26, 2024

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.