]> git.ipfire.org Git - thirdparty/git.git/commit
ls-tree doc: document interaction with submodules
authorÆvar Arnfjörð Bjarmason <avarab@gmail.com>
Fri, 8 Apr 2022 16:00:25 +0000 (18:00 +0200)
committerJunio C Hamano <gitster@pobox.com>
Fri, 8 Apr 2022 18:21:11 +0000 (11:21 -0700)
commitacd34fd5f60ab01e871dfa3a3bb8b81828ac181d
treea823a37ccf48be43c8684edd015fa54aab6197d5
parent5e65dac9c88d02f569cc87cdf630ecb5a780c6a6
ls-tree doc: document interaction with submodules

The ls-tree documentation had never been updated after it learned to
interact with submodules to explicitly mention them. The initial
support was added in f35a6d3bce7 (Teach core object handling functions
about gitlinks, 2007-04-09). E.g. the discussion of --long added in
f35a6d3bce7 (Teach core object handling functions about gitlinks,
2007-04-09) didn't explicitly mention them.

But this documentation added in 455923e0a15 (ls-tree: introduce
"--format" option, 2022-03-23) had no such excuse, and was actively
misleading by providing an exhaustive but incomplete list of object
types we'd emit.

Signed-off-by: Ævar Arnfjörð Bjarmason <avarab@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Documentation/git-ls-tree.txt