From: kristofferhaugsbakk@fastmail.com
To: git@vger.kernel.org
Cc: Kristoffer Haugsbakk <code@khaugsbakk.name>
Subject: [PATCH v2 0/2] doc: replace mentions of deprecated git config --list
Date: Sun, 5 Apr 2026 12:31:58 +0200 [thread overview]
Message-ID: <V2_CV_doc_deprecation_config_--list.569@msgid.xyz> (raw)
In-Reply-To: <CV_doc_deprecation_config_--list.54a@msgid.xyz>
From: Kristoffer Haugsbakk <code@khaugsbakk.name>
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:
diff --git a/Documentation/git-var.adoc b/Documentation/git-var.adoc
index 98f4dc1a479..697c10adedc 100644
--- a/Documentation/git-var.adoc
+++ b/Documentation/git-var.adoc
@@ -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
--
2.53.0.32.gf6228eaf9cc
next prev parent reply other threads:[~2026-04-05 10:32 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-03-31 20:48 [PATCH 0/3] doc: replace mentions of deprecated git config --list kristofferhaugsbakk
2026-03-31 20:48 ` [PATCH 1/3] doc: var: link -l to git config list kristofferhaugsbakk
2026-03-31 21:12 ` Junio C Hamano
2026-03-31 21:14 ` Kristoffer Haugsbakk
2026-03-31 20:48 ` [PATCH 2/3] doc: gitcvs-migration: replace config -l and rephrase kristofferhaugsbakk
2026-03-31 21:09 ` Junio C Hamano
2026-03-31 21:17 ` Kristoffer Haugsbakk
2026-03-31 20:48 ` [PATCH 3/3] doc: replace the rest of git config --list with `list` kristofferhaugsbakk
2026-03-31 21:10 ` Junio C Hamano
2026-04-05 10:31 ` kristofferhaugsbakk [this message]
2026-04-05 10:31 ` [PATCH v2 1/2] doc: replace git config --list/-l " kristofferhaugsbakk
2026-04-05 10:32 ` [PATCH v2 2/2] doc: gitcvs-migration: rephrase “man page” kristofferhaugsbakk
2026-04-06 17:04 ` Junio C Hamano
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=V2_CV_doc_deprecation_config_--list.569@msgid.xyz \
--to=kristofferhaugsbakk@fastmail.com \
--cc=code@khaugsbakk.name \
--cc=git@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox