git/list[1] front-page[2] threads[3] people[4] search[5] about
 

[PATCH v2 1/2] git.txt: fix synopsis of `--config-env` missing the equals sign

From
Patrick Steinhardt <ps@pks.im>
Date
Apr 29, 2021, 12:55 UTC
Message-ID
<08049f3b1088a301ea87db9a69454a2516b9525b.1619700731.git.ps@pks.im>
In-Reply-To
<cover.1619700731.git.ps@pks.im>

When executing `git -h`, then the `--config-env` documentation rightly lists the option as requiring an equals between the option and its argument: this is the only currently supported format. But the git(1) manpage incorrectly lists the option as taking a space in between.

Fix the issue by adding the missing space.
Reported-by: Ævar Arnfjörð Bjarmason <avarab@gmail.com>
Signed-of-by: Patrick Steinhardt <ps@pks.im>
---
 Documentation/git.txt | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/Documentation/git.txt b/Documentation/git.txt
index 3a9c44987f..ba5c8e9d98 100644
--- a/Documentation/git.txt
+++ b/Documentation/git.txt
@@ -13,7 +13,7 @@ SYNOPSIS
     [--exec-path[=<path>]] [--html-path] [--man-path] [--info-path]
     [-p|--paginate|-P|--no-pager] [--no-replace-objects] [--bare]
     [--git-dir=<path>] [--work-tree=<path>] [--namespace=<name>]
-    [--super-prefix=<path>] [--config-env <name>=<envvar>]
+    [--super-prefix=<path>] [--config-env=<name>=<envvar>]
     <command> [<args>]
 
 DESCRIPTION
-- 
2.31.1
Previous: Patrick SteinhardtNext: Patrick Steinhardt
Message 8 of 11 in “git: support separate arg for `--config-env`'s value”
  1. 0/2 git: support separate arg for `--config-env`'s valuePatrick Steinhardt, Apr 19, 2021
  2. 1/2 git.txt: fix synopsis of `--config-env` missing the equals signPatrick Steinhardt, Apr 19, 2021
  3. 2/2 git: support separate arg for `--config-env`'s valuePatrick Steinhardt, Apr 19, 2021
  4. Ævar Arnfjörð BjarmasonApr 20, 2021
  5. Jeff KingApr 23, 2021
  6. Ævar Arnfjörð BjarmasonApr 20, 2021
  7. 0/2 git: support separate arg for `--config-env`'s valuePatrick Steinhardt, Apr 29, 2021
  8. 1/2 git.txt: fix synopsis of `--config-env` missing the equals signPatrick Steinhardt, Apr 29, 2021
  9. 2/2 git: support separate arg for `--config-env`'s valuePatrick Steinhardt, Apr 29, 2021
  10. Jeff KingApr 29, 2021
  11. Junio C HamanoApr 30, 2021

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.