Skip to content

Commit 7bba1bd

Browse files
committed
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
2 parents 528a762 + c199707 commit 7bba1bd

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Documentation/git-ls-files.txt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -219,9 +219,9 @@ followed by the ("attr/<eolattr>").
219219

220220
--format=<format>::
221221
A string that interpolates `%(fieldname)` from the result being shown.
222-
It also interpolates `%%` to `%`, and `%xx` where `xx` are hex digits
223-
interpolates to character with hex code `xx`; for example `%00`
224-
interpolates to `\0` (NUL), `%09` to `\t` (TAB) and %0a to `\n` (LF).
222+
It also interpolates `%%` to `%`, and `%xXX` where `XX` are hex digits
223+
interpolates to character with hex code `XX`; for example `%x00`
224+
interpolates to `\0` (NUL), `%x09` to `\t` (TAB) and %x0a to `\n` (LF).
225225
--format cannot be combined with `-s`, `-o`, `-k`, `-t`, `--resolve-undo`
226226
and `--eol`.
227227
\--::

0 commit comments

Comments
 (0)