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

[PATCH v2] Documentation/git-config.txt: reword missleading sentence

From
Ssecond.payre@gmail.com <second.payre@gmail.com>
Date
Oct 12, 2017, 09:17 UTC
Message-ID
<20171012091727.30759-1-second.payre@gmail.com>
In-Reply-To
<xmqqtvz7pewn.fsf@gitster.mtv.corp.google.com>
From: PAYRE NATHAN p1508475 <nathan.payre@etu.univ-lyon1.fr>

Change the word "bla" to "section.variable", "bla" is a placeholder for a variable name and it wasn't clear for everyone. This change clarify it.

Change the appearance of 'git config section.variable {tilde}/' to `git config section.variable {tilde}/` to harmonize it with the rest of the file, this is a command line then the "`" are necessary.

Replace "git-config" by "git config" because the command is not "git-config".

See discussion at: https://public-inbox.org/git/20171002061303.Horde.SL92grZCqTRV9oQkBFPELQ7@crashcourse.ca/

Signed-off-by: MOY Matthieu <matthieu.moy@univ-lyon1.fr>
Signed-off-by: Daniel Bensoussan <daniel.bensoussan--bohm@etu.univ-lyon1.fr>
Signed-off-by: Timothee Albertin <timothee.albertin@etu.univ-lyon1.fr>
Signed-off-by: Nathan Payre <second.payre@gmail.com>
Noticed-by: rpjday@crashcourse.ca
---
 Documentation/git-config.txt | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/Documentation/git-config.txt b/Documentation/git-config.txt
index 83f86b923..2ab9e4c56 100644
--- a/Documentation/git-config.txt
+++ b/Documentation/git-config.txt
@@ -174,11 +174,11 @@ See also <<FILES>>.
 	either --bool or --int, as described above.
 
 --path::
-	'git-config' will expand leading '{tilde}' to the value of
+	'git config' will expand leading '{tilde}' to the value of
 	'$HOME', and '{tilde}user' to the home directory for the
 	specified user.  This option has no effect when setting the
-	value (but you can use 'git config bla {tilde}/' from the
-	command line to let your shell do the expansion).
+	value (but you can use `git config section.variable {tilde}/`
+	from the command line to let your shell do the expansion).
 
 -z::
 --null::
-- 
2.14.2
Previous: Junio C HamanoNext: Junio C Hamano
Message 5 of 11 in “Documentation/git-config.txt: reword missleading sentence”
  1. Documentation/git-config.txt: reword missleading sentencePAYRE NATHAN p1508475, Oct 5, 2017
  2. Junio C HamanoOct 5, 2017
  3. Nathan PAYREOct 10, 2017
  4. Junio C HamanoOct 10, 2017
  5. Documentation/git-config.txt: reword missleading sentencesecond.payre@gmail.com, Oct 12, 2017
  6. Junio C HamanoOct 13, 2017
  7. Moy MatthieuOct 13, 2017
  8. Junio C HamanoOct 13, 2017
  9. Documentation/git-config.txt: reword missleading sentencePAYRE NATHAN p1508475, Oct 18, 2017
  10. Jonathan NiederOct 18, 2017
  11. Junio C HamanoOct 19, 2017

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.