diff options
author | Junio C Hamano <gitster@pobox.com> | 2023-06-22 16:29:07 -0700 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2023-06-22 16:29:07 -0700 |
commit | e0e8a2dfa05d66562688804ec38939d8bb56a8fd (patch) | |
tree | b89ca1071b606d774917b4003b01cd000da1ee79 /Documentation/git-ls-tree.txt | |
parent | ad6d37ea7e9e9e24187462b0f25a74e3b9c5961d (diff) | |
parent | 3744ffcbcdcd5a619b7522671e6137b33d84626b (diff) | |
download | git-e0e8a2dfa05d66562688804ec38939d8bb56a8fd.tar.gz |
Merge branch 'rs/doc-ls-tree-hex-literal'
Doc update.
* rs/doc-ls-tree-hex-literal:
ls-tree: fix documentation of %x format placeholder
Diffstat (limited to 'Documentation/git-ls-tree.txt')
-rw-r--r-- | Documentation/git-ls-tree.txt | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Documentation/git-ls-tree.txt b/Documentation/git-ls-tree.txt index fa9a6b9f2c..6572095d8d 100644 --- a/Documentation/git-ls-tree.txt +++ b/Documentation/git-ls-tree.txt @@ -86,9 +86,9 @@ OPTIONS --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). + `%xNN` where `NN` are hex digits interpolates to character + with hex code `NN`; for example `%x00` interpolates to + `\0` (NUL), `%x09` to `\t` (TAB) and `%x0a` to `\n` (LF). When specified, `--format` cannot be combined with other format-altering options, including `--long`, `--name-only` and `--object-only`. |