diff options
| author | Junio C Hamano <gitster@pobox.com> | 2024-08-26 11:10:20 -0700 |
|---|---|---|
| committer | Junio C Hamano <gitster@pobox.com> | 2024-08-26 11:10:20 -0700 |
| commit | 7bba1bd8060e0b297e8f58f8b6ce67133e8fc390 (patch) | |
| tree | 871c86c38ae201486b7f3728975df122b9913a29 | |
| parent | 528a762ca67e4be03241e8b80cde5504dc2c6432 (diff) | |
| parent | c1997074966a9eee7354bd3310048660a6287570 (diff) | |
| download | git-7bba1bd8060e0b297e8f58f8b6ce67133e8fc390.tar.gz | |
Merge branch 'jr/ls-files-expand-literal-doc' into maint-2.46
Docfix.
* jr/ls-files-expand-literal-doc:
doc: fix hex code escapes in git-ls-files
| -rw-r--r-- | Documentation/git-ls-files.txt | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Documentation/git-ls-files.txt b/Documentation/git-ls-files.txt index d08c7da8f4..58c529afbe 100644 --- a/Documentation/git-ls-files.txt +++ b/Documentation/git-ls-files.txt @@ -219,9 +219,9 @@ followed by the ("attr/<eolattr>"). --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`. \--:: |
