From: Denton Liu Date: Sat, 5 Oct 2019 00:13:08 +0000 (-0700) Subject: git-rev-list.txt: prune options in synopsis X-Git-Tag: v2.24.0-rc0~31^2 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=11a3d3aadd3ec1747a4cb216b2676aeb07c0d64b;p=thirdparty%2Fgit.git git-rev-list.txt: prune options in synopsis The synopsis section in git-rev-list.txt has grown to be a huge list that probably needs its own synopsis. Since the list is huge, users may be given the false impression that the list is complete, however it is not. It is missing many of the available options. Since the list of options in the synopsis is not only annoying but actively harmful, replace it with `[]` so users know to explicitly look through the documentation for further information. While we're at it, update the optional path notation so that it is more modern. Signed-off-by: Denton Liu Signed-off-by: Junio C Hamano --- diff --git a/Documentation/git-rev-list.txt b/Documentation/git-rev-list.txt index 9392760b25..025c911436 100644 --- a/Documentation/git-rev-list.txt +++ b/Documentation/git-rev-list.txt @@ -9,59 +9,7 @@ git-rev-list - Lists commit objects in reverse chronological order SYNOPSIS -------- [verse] -'git rev-list' [ --max-count= ] - [ --skip= ] - [ --max-age= ] - [ --min-age= ] - [ --sparse ] - [ --merges ] - [ --no-merges ] - [ --min-parents= ] - [ --no-min-parents ] - [ --max-parents= ] - [ --no-max-parents ] - [ --first-parent ] - [ --remove-empty ] - [ --full-history ] - [ --not ] - [ --all ] - [ --branches[=] ] - [ --tags[=] ] - [ --remotes[=] ] - [ --glob= ] - [ --ignore-missing ] - [ --stdin ] - [ --quiet ] - [ --topo-order ] - [ --parents ] - [ --timestamp ] - [ --left-right ] - [ --left-only ] - [ --right-only ] - [ --cherry-mark ] - [ --cherry-pick ] - [ --encoding= ] - [ --(author|committer|grep)= ] - [ --regexp-ignore-case | -i ] - [ --extended-regexp | -E ] - [ --fixed-strings | -F ] - [ --date=] - [ [ --objects | --objects-edge | --objects-edge-aggressive ] - [ --unpacked ] - [ --object-names | --no-object-names ] - [ --filter= [ --filter-print-omitted ] ] ] - [ --missing= ] - [ --pretty | --header ] - [ --bisect ] - [ --bisect-vars ] - [ --bisect-all ] - [ --merge ] - [ --reverse ] - [ --walk-reflogs ] - [ --no-walk ] [ --do-walk ] - [ --count ] - [ --use-bitmap-index ] - ... [ \-- ... ] +'git rev-list' [] ... [[--] ...] DESCRIPTION -----------