]> git.ipfire.org Git - thirdparty/git.git/commit
git-ls-tree.txt: fix the name of "%(objectsize:padded)"
authorMartin Ågren <martin.agren@gmail.com>
Thu, 7 Apr 2022 15:52:31 +0000 (17:52 +0200)
committerJunio C Hamano <gitster@pobox.com>
Thu, 7 Apr 2022 17:11:20 +0000 (10:11 -0700)
commit5e65dac9c88d02f569cc87cdf630ecb5a780c6a6
tree4a98d37aaa4291351165b07493264f54a8f02f3f
parent350296cc78912c245847ec65e55143053450cce1
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>
Documentation/git-ls-tree.txt