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

Re: [PATCH v3 3/6] Change 'git' to 'Git' whenever the whole system is referred to #2

From
Junio C Hamano <gitster@pobox.com>
Date
Jan 23, 2013, 00:53 UTC
Message-ID
<7va9s0lnxn.fsf@alter.siamese.dyndns.org>
In-Reply-To
<2009548606.632825.1358795980319.JavaMail.ngmail@webmail20.arcor-online.net>
Thomas Ackermann <th.acker@arcor.de> writes:
Show 11 quoted lines
> diff --git a/Documentation/config.txt b/Documentation/config.txt
> index b87f744..5a831ad2 100644
> --- a/Documentation/config.txt
> +++ b/Documentation/config.txt
> @@ -1,14 +1,14 @@
>  CONFIGURATION FILE
>  ------------------
>  
> -The git configuration file contains a number of variables that affect
> +The Git configuration file contains a number of variables that affect
>  the git command's behavior. The `.git/config` file in each repository

I am torn on this one, in the sense that there are configuration variables that changes the behaviour of 'git' wrapper itself, but this explanation is talking more about all the 161 subcommands (no, I am just kidding and didn't count) in the Git suite in general, so I think s/git/Git/ is probably more appropriate.

Show 8 quoted lines
> @@ -1039,7 +1039,7 @@ format.subjectprefix::
>  
>  format.signature::
>  	The default for format-patch is to output a signature containing
> -	the git version number. Use this variable to change that default.
> +	the Git version number. Use this variable to change that default.
>  	Set this variable to the empty string ("") to suppress
>  	signature generation.
Before this hunk, fetch.unpackLimit has this:
	If the number of objects fetched over the git native
	transfer is below...
s/git/Git/ is needed, I think.
Show 10 quoted lines
> diff --git a/Documentation/git-remote-helpers.txt b/Documentation/git-remote-helpers.txt
> index 6d696e0..e18c3b0 100644
> --- a/Documentation/git-remote-helpers.txt
> +++ b/Documentation/git-remote-helpers.txt
> @@ -45,9 +45,9 @@ argument specifies a URL; it is usually of the form
>  '<transport>://<address>', but any arbitrary string is possible.
>  The 'GIT_DIR' environment variable is set up for the remote helper
>  and can be used to determine where to store additional data or from
> -which directory to invoke auxiliary git commands.
> +which directory to invoke auxiliary Git commands.
The paragraph begins with this:
 Remote helper programs are invoked with one or (optionally) two
 arguments. The first argument specifies a remote repository as in git;
s/git/Git/ is needed, I think.
Show 12 quoted lines
> diff --git a/Documentation/git-verify-pack.txt b/Documentation/git-verify-pack.txt
> index cd23076..d4ae05b 100644
> --- a/Documentation/git-verify-pack.txt
> +++ b/Documentation/git-verify-pack.txt
> @@ -14,7 +14,7 @@ SYNOPSIS
>  
>  DESCRIPTION
>  -----------
> -Reads given idx file for packed git archive created with the
> +Reads given idx file for packed Git archive created with the
>  'git pack-objects' command and verifies idx file and the
>  corresponding pack file.

The NAME section lists it as "Validate packed git archive files", which wants a s/git/Git/, I think.

Show 20 quoted lines
> diff --git a/Documentation/gitattributes.txt b/Documentation/gitattributes.txt
> index 2698f63..b9c0eec 100644
> --- a/Documentation/gitattributes.txt
> +++ b/Documentation/gitattributes.txt
> @@ -417,11 +417,11 @@ Generating diff text
>  `diff`
>  ^^^^^^
>  
> -The attribute `diff` affects how 'git' generates diffs for particular
> -files. It can tell git whether to generate a textual patch for the path
> +The attribute `diff` affects how Git generates diffs for particular
> +files. It can tell Git whether to generate a textual patch for the path
>  or to treat the path as a binary file.  It can also affect what line is
> -shown on the hunk header `@@ -k,l +n,m @@` line, tell git to use an
> -external command to generate the diff, or ask git to convert binary
> +shown on the hunk header `@@ -k,l +n,m @@` line, tell Git to use an
> +external command to generate the diff, or ask Git to convert binary
>  files to a text format before generating the diff.
>  
>  Set::
After this hunk, the description of "String" type says this:
	... are defined by the configuration variables in the
        "diff.foo" section of the git config file.
s/git/Git/ is needed, I think.
Show 9 quoted lines
> @@ -650,7 +650,7 @@ advantages to choosing this method:
>     odt2txt).
>  
>  2. Git diff features. By performing only the transformation step
> -   yourself, you can still utilize many of git's diff features,
> +   yourself, you can still utilize many of Git's diff features,
>     including colorization, word-diff, and combined diffs for merges.
>  
>  3. Caching. Textconv caching can speed up repeated diffs, such as those
After this hunk, in "Marking file as binary" section, you have
	This will cause git to generate `Binary files differ`...
s/git/Git/ is needed, I think.
As before, I'll locally create a fixup commit based on the above.

After I am done with these patches, somebody (not Thomas or I, as our eyes are too used to staring at git and Git to notice mistakes) has to run "git grep -C3 -e '\<Git\>' Documentation/" and eyeball the output to spot mistakes that should have been "git" but was converted to "Git", as I am mostly concentrating on finding "git" that should have been converted in Thomas's series.

Thanks.
Previous: Thomas AckermannNext: Junio C Hamano
Message 19 of 49 in “Aw: Re: [PATCH 1/2] Change old system name 'GIT' to 'Git'”
  1. Thomas AckermannJan 20, 2013
  2. Junio C HamanoJan 20, 2013
  3. 0/6 GIT, Git, gitThomas Ackermann, Jan 21, 2013
  4. 1/6 Change old system name 'GIT' to 'Git'Thomas Ackermann, Jan 21, 2013
  5. 2/6 Change 'git' to 'Git' whenever the whole system is referred to #1Thomas Ackermann, Jan 21, 2013
  6. Aw: [PATCH v2 0/6] GIT, Git, gitThomas Ackermann, Jan 21, 2013
  7. 0/6 GIT, Git, gitThomas Ackermann, Jan 21, 2013
  8. 1/6 Change old system name 'GIT' to 'Git'Thomas Ackermann, Jan 21, 2013
  9. Junio C HamanoJan 22, 2013
  10. Aw: Re: [PATCH v3 1/6] Change old system name 'GIT' to 'Git'Thomas Ackermann, Jan 22, 2013
  11. Junio C HamanoJan 22, 2013
  12. 2/6 Change 'git' to 'Git' whenever the whole system is referred to #1Thomas Ackermann, Jan 21, 2013
  13. Junio C HamanoJan 22, 2013
  14. Junio C HamanoJan 22, 2013
  15. Junio C HamanoJan 23, 2013
  16. Junio C HamanoJan 23, 2013
  17. Junio C HamanoJan 23, 2013
  18. 3/6 Change 'git' to 'Git' whenever the whole system is referred to #2Thomas Ackermann, Jan 21, 2013
  19. Junio C HamanoJan 23, 2013
  20. Junio C HamanoJan 23, 2013
  21. David AguilarJan 23, 2013
  22. Junio C HamanoJan 23, 2013
  23. Aw: Re: [PATCH v3 3/6] Change 'git' to 'Git' whenever the whole system is referred to #2Thomas Ackermann, Jan 23, 2013
  24. Junio C HamanoFeb 1, 2013
  25. Aw: Re: Aw: Re: [PATCH v3 3/6] Change 'git' to 'Git' whenever the whole system is referred to #2Thomas Ackermann, Feb 1, 2013
  26. 1/6 fixup! fixup! Change 'git' to 'Git' whenever the whole system is referred to #2Thomas Ackermann, Feb 1, 2013
  27. 2/6 fixup! fixup! fixup! Change 'git' to 'Git' whenever the whole system is referred to #1Thomas Ackermann, Feb 1, 2013
  28. Jonathan NiederFeb 1, 2013
  29. Junio C HamanoFeb 1, 2013
  30. 3/6 fixup! Documentation: avoid poor-man's small capsThomas Ackermann, Feb 1, 2013
  31. Junio C HamanoFeb 1, 2013
  32. 4/6 Fix places where 'Git' should be 'gitThomas Ackermann, Feb 1, 2013
  33. 5/6 Add a description for 'gitfile' to glossaryThomas Ackermann, Feb 1, 2013
  34. Junio C HamanoFeb 1, 2013
  35. Junio C HamanoFeb 1, 2013
  36. Jonathan NiederFeb 1, 2013
  37. 6/6 Use consistent links for User Manual and Everyday Git; Fix a quoting errorThomas Ackermann, Feb 1, 2013
  38. Junio C HamanoFeb 1, 2013
  39. Jonathan NiederFeb 1, 2013
  40. Junio C HamanoFeb 1, 2013
  41. Aw: Re: [PATCH 6/6] Use consistent links for User Manual and Everyday Git; Fix a quoting errorThomas Ackermann, Feb 1, 2013
  42. Junio C HamanoFeb 1, 2013
  43. 4/6 Change 'git' to 'Git' whenever the whole system is referred to #3Thomas Ackermann, Jan 21, 2013
  44. Junio C HamanoJan 23, 2013
  45. 5/6 Change 'git' to 'Git' whenever the whole system is referred to #4Thomas Ackermann, Jan 21, 2013
  46. Junio C HamanoJan 23, 2013
  47. 6/6 Add rule for when to use 'git' and when to use 'Git'Thomas Ackermann, Jan 21, 2013
  48. Junio C HamanoJan 21, 2013
  49. Junio C HamanoJan 21, 2013

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.