Message ID | patch-1.1-183b9639ae7-20220408T155704Z-avarab@gmail.com (mailing list archive) |
---|---|
State | Accepted |
Commit | acd34fd5f60ab01e871dfa3a3bb8b81828ac181d |
Headers | show |
Series | ls-tree doc: document interaction with submodules | expand |
Ævar Arnfjörð Bjarmason <avarab@gmail.com> writes: > Thanks, perhaps this is also worth taking before the release, it's a > rather trivial inaccuracy in the docs, but something that's new since > v2.36.0. > ... > diff --git a/Documentation/git-ls-tree.txt b/Documentation/git-ls-tree.txt > index 8f31e2ee9d4..0240adb8eec 100644 > --- a/Documentation/git-ls-tree.txt > +++ b/Documentation/git-ls-tree.txt > @@ -151,11 +151,11 @@ names can be used: > objectmode:: > The mode of the object. > objecttype:: > - The type of the object (`blob` or `tree`). > + The type of the object (`commit`, `blob` or `tree`). > objectname:: > The name of the object. > objectsize[:padded]:: > - The size of the object ("-" if it's a tree). > + The size of a `blob` object ("-" if it's a `commit` or `tree`). > It also supports a padded format of size with "%(objectsize:padded)". > path:: > The pathname of the object. Makes sense. Indeed we should have updated it when we added gitlinks to trees. Will queue.
diff --git a/Documentation/git-ls-tree.txt b/Documentation/git-ls-tree.txt index 8f31e2ee9d4..0240adb8eec 100644 --- a/Documentation/git-ls-tree.txt +++ b/Documentation/git-ls-tree.txt @@ -151,11 +151,11 @@ names can be used: objectmode:: The mode of the object. objecttype:: - The type of the object (`blob` or `tree`). + The type of the object (`commit`, `blob` or `tree`). objectname:: The name of the object. objectsize[:padded]:: - The size of the object ("-" if it's a tree). + The size of a `blob` object ("-" if it's a `commit` or `tree`). It also supports a padded format of size with "%(objectsize:padded)". path:: The pathname of the object.