summaryrefslogtreecommitdiff
path: root/Documentation/git-ls-tree.txt
diff options
context:
space:
mode:
authorMartin Ågren <martin.agren@gmail.com>2022-04-07 15:52:31 (GMT)
committerJunio C Hamano <gitster@pobox.com>2022-04-07 17:11:20 (GMT)
commit5e65dac9c88d02f569cc87cdf630ecb5a780c6a6 (patch)
tree4a98d37aaa4291351165b07493264f54a8f02f3f /Documentation/git-ls-tree.txt
parent350296cc78912c245847ec65e55143053450cce1 (diff)
downloadgit-5e65dac9c88d02f569cc87cdf630ecb5a780c6a6.zip
git-5e65dac9c88d02f569cc87cdf630ecb5a780c6a6.tar.gz
git-5e65dac9c88d02f569cc87cdf630ecb5a780c6a6.tar.bz2
git-ls-tree.txt: fix the name of "%(objectsize:padded)"
Commit 455923e0a1 ("ls-tree: introduce "--format" option", 2022-03-23) introduced `--format` and the various placeholders it can take, such as %(objectname) and %(objectsize). At some point when that patch was being developed, those placeholders had shorter names, e.g., %(name) and %(size), which can be seen in the commit message of 455923e0a1. One instance of "%(size:padded)" also managed to enter the documentation in the final version of the patch. Correct it to "%(objectsize:padded)". Signed-off-by: Martin Ågren <martin.agren@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'Documentation/git-ls-tree.txt')
-rw-r--r--Documentation/git-ls-tree.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/Documentation/git-ls-tree.txt b/Documentation/git-ls-tree.txt
index 43aebb9..8f31e2e 100644
--- a/Documentation/git-ls-tree.txt
+++ b/Documentation/git-ls-tree.txt
@@ -156,7 +156,7 @@ objectname::
The name of the object.
objectsize[:padded]::
The size of the object ("-" if it's a tree).
- It also supports a padded format of size with "%(size:padded)".
+ It also supports a padded format of size with "%(objectsize:padded)".
path::
The pathname of the object.