diff options
author | 2019-04-22 11:15:41 -0400 | |
---|---|---|
committer | 2019-04-23 10:25:04 +0900 | |
commit | da9ca955a759d33e817ba9312f3f28d951826dc1 (patch) | |
tree | 1cd606a44eb10f88ca8db9fcd22b4949aacc843a /t/t1100-commit-tree-options.sh | |
parent | mingw: allow building with an MSYS2 runtime v3.x (diff) | |
download | tgif-da9ca955a759d33e817ba9312f3f28d951826dc1.tar.xz |
doc/ls-files: put nested list for "-t" option into block
The description for the "-t" option contains a sub-list of all of the
possible file status outputs. But because of the newline separating that
list from the description paragraph, asciidoc treats the sub-list
entries as a continuation of the overall options list, rather than as
children of the "-t" description.
We could fix it by adding a "+" before the sub-list to connect it to the
rest of the "-t" text. But using a pair of "--" to delimit the block is
perhaps more readable, and may have better compatibility with
asciidoctor, as in 39a869b2f2 (Documentation/rev-list-options: wrap
--date=<format> block with "--", 2019-03-30).
The extra blank line comes from 5bc0e247c4 (Document ls-files -t as
semi-obsolete., 2010-07-28), but the problem actually seems older than
that. Before then, we did:
-t:: some text...
H:: cached
M:: unmerged
etc...
but asciidoc also treats that as one big list. So this problem seems to
have been around forever.
Signed-off-by: Jeff King <peff@peff.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t1100-commit-tree-options.sh')
0 files changed, 0 insertions, 0 deletions