Skip to content

doc: replace mentions of deprecated git config --list

[email protected] git 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest2 patches 1 replyIn review
  2. v13 patches 5 repliesSuperseded

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2doc: replace git config --list/-l with `list`Documentation/git-var.adoc Documentation/gitcvs-migration.adoc Documentation/gitprotocol-v2.adoc +3 more+6 -60 replies
2/2doc: gitcvs-migration: rephrase “man page”Documentation/gitcvs-migration.adoc+1 -21 reply

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.

Read the v2 thread

Cover letter [PATCH v2 0/2] doc: replace mentions of deprecated git config --list

From: Kristoffer Haugsbakk <[email protected]>

Topic name: kh/doc-config-no-deprecated-list-opt

Topic summary: Replace uses of deprecated git config --list with its replacement git config list from topic ps/config-subcommands.

I found git config -l in git-var(1) and searched for other occurrences. I have not considered the other deprecated options.

CHANGES IN V2

Do all the straightforward deprecated-to-new transformations. Then do the “man page” change. Also drop the faulty admonission change.

See the notes on the patches for details.

[1/2] doc: replace git config --list/-l with list [2/2] doc: gitcvs-migration: rephrase “man page”

 Documentation/git-var.adoc              | 2 +-
 Documentation/gitcvs-migration.adoc     | 3 +--
 Documentation/gitprotocol-v2.adoc       | 2 +-
 Documentation/gittutorial.adoc          | 2 +-
 Documentation/technical/api-trace2.adoc | 2 +-
 Documentation/user-manual.adoc          | 2 +-
 6 files changed, 6 insertions(+), 7 deletions(-)

Interdiff against v1:

Documentation/git-var.adoc +2 -3
index 98f4dc1a479..697c10adedc 100644
@@ -21,9 +21,8 @@ OPTIONS
 `-l`::
 	Display the logical variables. In addition, all the
 	variables of the Git configuration file .git/config are listed
-	as well.
-+
-WARNING: Deprecated in favor of `git config list`.
+	as well. (However, the configuration variables listing functionality
+	is deprecated in favor of `git config list`.)
 
 EXAMPLES
 --------

base-commit: 67ad42147a7acc2af6074753ebd03d904476118f

Signature · 1 line
2.53.0.32.gf6228eaf9cc