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

Re: [PATCH] doc: camelCase the config variables to improve readability

From
Jonathan Nieder <jrnieder@gmail.com>
Date
Sep 19, 2017, 20:22 UTC
Message-ID
<20170919202201.GD75068@aiede.mtv.corp.google.com>
In-Reply-To
<0102015e9a2d3eb6-bee76ba8-4298-47d2-8822-d513bc33bd71-000000@eu-west-1.amazonses.com>
Hi,
Kaartic Sivaraam wrote:
> The config variable used weren't readable as they were in the
> crude form of how git stores/uses it's config variables.

nit: Git's commit messages describe the current behavior of Git in the present tense. Something like:

	These manpages' references to config variables are hard to read because
	they use all-lowercase names, without indicating where each word ends
	and begins in the configuration variable names.
	Improve readability by using camelCase instead.  Git treats these names
	case-insensitively so this does not affect functionality.
> Improve it's readability by replacing them with camelCased versions
> of config variables as it doesn't have any impact on it's usage.
nit: s/it's/its/ (in both places)
Show 5 quoted lines
> Signed-off-by: Kaartic Sivaraam <kaarticsivaraam91196@gmail.com>
> ---
>  Documentation/git-branch.txt | 4 ++--
>  Documentation/git-tag.txt    | 2 +-
>  2 files changed, 3 insertions(+), 3 deletions(-)
This also is just more consistent with the rest of the docs.
FWIW, with or without the commit message tweaks mentioned above,
Reviewed-by: Jonathan Nieder <jrnieder@gmail.com>
Thanks for your attention to detail.
Previous: Kaartic SivaraamNext: Kaartic Sivaraam
Message 2 of 7 in “doc: camelCase the config variables to improve readability”
  1. doc: camelCase the config variables to improve readabilityKaartic Sivaraam, Sep 19, 2017
  2. Jonathan NiederSep 19, 2017
  3. Kaartic SivaraamSep 20, 2017
  4. doc: camelCase the config variables to improve readabilityKaartic Sivaraam, Sep 23, 2017
  5. Junio C HamanoSep 24, 2017
  6. Kaartic SivaraamSep 24, 2017
  7. doc: camelCase the config variables to improve readabilityKaartic Sivaraam, Sep 25, 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.