mirror of
https://github.com/git/git.git
synced 2024-05-18 20:36:15 +02:00
Merge branch 'rs/doc-ls-tree-hex-literal'
Doc update. * rs/doc-ls-tree-hex-literal: ls-tree: fix documentation of %x format placeholder
This commit is contained in:
commit
e0e8a2dfa0
|
@ -86,9 +86,9 @@ OPTIONS
|
||||||
--format=<format>::
|
--format=<format>::
|
||||||
A string that interpolates `%(fieldname)` from the result
|
A string that interpolates `%(fieldname)` from the result
|
||||||
being shown. It also interpolates `%%` to `%`, and
|
being shown. It also interpolates `%%` to `%`, and
|
||||||
`%xx` where `xx` are hex digits interpolates to character
|
`%xNN` where `NN` are hex digits interpolates to character
|
||||||
with hex code `xx`; for example `%00` interpolates to
|
with hex code `NN`; for example `%x00` interpolates to
|
||||||
`\0` (NUL), `%09` to `\t` (TAB) and `%0a` to `\n` (LF).
|
`\0` (NUL), `%x09` to `\t` (TAB) and `%x0a` to `\n` (LF).
|
||||||
When specified, `--format` cannot be combined with other
|
When specified, `--format` cannot be combined with other
|
||||||
format-altering options, including `--long`, `--name-only`
|
format-altering options, including `--long`, `--name-only`
|
||||||
and `--object-only`.
|
and `--object-only`.
|
||||||
|
|
Loading…
Reference in New Issue