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

[PATCH v2] i18n.txt: camel case and monospace "i18n.commitEncoding"

From
Junio C Hamano <gitster@pobox.com>
Date
Feb 23, 2021, 19:26 UTC
Message-ID
<xmqqy2fe1t6o.fsf_-_@gitster.g>
In-Reply-To
<cc48b125166a241ef5f24138fd161223ab35e361.1614062288.git.liu.denton@gmail.com>

In 95791be750 (doc: camelCase the i18n config variables to improve readability, 2017-07-17), the other i18n config variables were camel cased. However, this one instance was missed.

Camel case and monospace "i18n.commitEncoding" so that it matches the surrounding text.

Signed-off-by: Denton Liu <liu.denton@gmail.com>
[jc: fixed 3 other mistakes that are exactly the same]
Signed-off-by: Junio C Hamano <gitster@pobox.com>
---
 * So, while I still remember, I amended your commit and queued
   this.
 Documentation/git-am.txt       | 2 +-
 Documentation/git-mailinfo.txt | 4 ++--
 Documentation/i18n.txt         | 2 +-
 3 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/Documentation/git-am.txt b/Documentation/git-am.txt
index 06bc063542..decd8ae122 100644
--- a/Documentation/git-am.txt
+++ b/Documentation/git-am.txt
@@ -79,7 +79,7 @@ OPTIONS
 	Pass `-u` flag to 'git mailinfo' (see linkgit:git-mailinfo[1]).
 	The proposed commit log message taken from the e-mail
 	is re-coded into UTF-8 encoding (configuration variable
-	`i18n.commitencoding` can be used to specify project's
+	`i18n.commitEncoding` can be used to specify project's
 	preferred encoding if it is not UTF-8).
 +
 This was optional in prior versions of git, but now it is the
diff --git a/Documentation/git-mailinfo.txt b/Documentation/git-mailinfo.txt
index 7a6aed0e30..d343f040f5 100644
--- a/Documentation/git-mailinfo.txt
+++ b/Documentation/git-mailinfo.txt
@@ -53,7 +53,7 @@ character.
 	The commit log message, author name and author email are
 	taken from the e-mail, and after minimally decoding MIME
 	transfer encoding, re-coded in the charset specified by
-	i18n.commitencoding (defaulting to UTF-8) by transliterating
+	`i18n.commitEncoding` (defaulting to UTF-8) by transliterating
 	them.  This used to be optional but now it is the default.
 +
 Note that the patch is always used as-is without charset
@@ -61,7 +61,7 @@ conversion, even with this flag.
 
 --encoding=<encoding>::
 	Similar to -u.  But when re-coding, the charset specified here is
-	used instead of the one specified by i18n.commitencoding or UTF-8.
+	used instead of the one specified by `i18n.commitEncoding` or UTF-8.
 
 -n::
 	Disable all charset re-coding of the metadata.
diff --git a/Documentation/i18n.txt b/Documentation/i18n.txt
index 7e36e5b55b..6c6baeeeb7 100644
--- a/Documentation/i18n.txt
+++ b/Documentation/i18n.txt
@@ -38,7 +38,7 @@ mind.
   a warning if the commit log message given to it does not look
   like a valid UTF-8 string, unless you explicitly say your
   project uses a legacy encoding.  The way to say this is to
-  have i18n.commitencoding in `.git/config` file, like this:
+  have `i18n.commitEncoding` in `.git/config` file, like this:
 +
 ------------
 [i18n]
-- 
2.30.1-808-g8fd60da8ea
Previous: Junio C HamanoNext: Eric Sunshine
Message 4 of 21 in “docs: misc cleanup”
  1. 0/3 docs: misc cleanupDenton Liu, Feb 23, 2021
  2. 1/3 i18n.txt: camel case and monospace "i18n.commitEncoding"Denton Liu, Feb 23, 2021
  3. Junio C HamanoFeb 23, 2021
  4. i18n.txt: camel case and monospace "i18n.commitEncoding"Junio C Hamano, Feb 23, 2021
  5. Eric SunshineFeb 23, 2021
  6. Junio C HamanoFeb 23, 2021
  7. 0/3 doc: spell configuration variable names in camelCaseJunio C Hamano, Feb 24, 2021
  8. 1/3 i18n.txt: camel case and monospace "i18n.commitEncoding"Junio C Hamano, Feb 24, 2021
  9. 2/3 blame-options.txt: camelcase blame.blankBoundaryJunio C Hamano, Feb 24, 2021
  10. 3/3 index-format doc: camelCase core.excludesFileJunio C Hamano, Feb 24, 2021
  11. 2/3 git-cat-file.txt: monospace args and placeholdersDenton Liu, Feb 23, 2021
  12. Eric SunshineFeb 23, 2021
  13. 2/3 git-cat-file.txt: monospace args, placeholders and filenamesDenton Liu, Feb 23, 2021
  14. 3/3 git-cat-file.txt: remove references to "sha1"Denton Liu, Feb 23, 2021
  15. Eric SunshineFeb 23, 2021
  16. git-cat-file.txt: remove references to "sha1"Denton Liu, Feb 23, 2021
  17. Junio C HamanoFeb 23, 2021
  18. 0/2 git-cat-file.txt: doc cleanupDenton Liu, Mar 3, 2021
  19. 2/2 git-cat-file.txt: remove references to "sha1"Denton Liu, Mar 3, 2021
  20. 1/2 git-cat-file.txt: monospace args, placeholders and filenamesDenton Liu, Mar 3, 2021
  21. Junio C HamanoMar 4, 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.