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

Re: [RFC/PATCH 8/8] user-manual: simplify the user configuration

From
Felipe Contreras <felipe.contreras@gmail.com>
Date
Mar 23, 2009, 11:07 UTC
Message-ID
<94a0d4530903230407i2c858a5dk2c2e0703608e42d3@mail.gmail.com>
In-Reply-To
<984D312E-12B8-4A8C-B567-EF5AF1DDD3D6@wincent.com>
On Mon, Mar 23, 2009 at 2:07 AM, Wincent Colaiuta <win@wincent.com> wrote:
Show 52 quoted lines
>
> El 23/3/2009, a las 0:01, Felipe Contreras escribió:
>
>> On Mon, Mar 23, 2009 at 12:42 AM, Wincent Colaiuta <win@wincent.com>
>> wrote:
>>>
>>> El 22/3/2009, a las 19:05, Felipe Contreras escribió:
>>>
>>>> This is shorter, avoids the burder to think about the format of the
>>>> configuration file, and git config is already used in other places in
>>>> the manual.
>>>>
>>>> Signed-off-by: Felipe Contreras <felipe.contreras@gmail.com>
>>>> ---
>>>> Documentation/user-manual.txt |    8 +++-----
>>>> 1 files changed, 3 insertions(+), 5 deletions(-)
>>>>
>>>> diff --git a/Documentation/user-manual.txt
>>>> b/Documentation/user-manual.txt
>>>> index b7678aa..c6ed940 100644
>>>> --- a/Documentation/user-manual.txt
>>>> +++ b/Documentation/user-manual.txt
>>>> @@ -1015,13 +1015,11 @@ Telling git your name
>>>> ---------------------
>>>>
>>>> Before creating any commits, you should introduce yourself to git.  The
>>>> -easiest way to do so is to make sure the following lines appear in a
>>>> -file named `.gitconfig` in your home directory:
>>>> +easiest way is to use the linkgit:git-config[1] command:
>>>>
>>>> ------------------------------------------------
>>>> -[user]
>>>> -       name = Your Name Comes Here
>>>> -       email = you@yourdomain.example.com
>>>> +$ git config --global user.name "Your Name Comes Here"
>>>> +$ git config --global user.email you@yourdomain.example.com
>>>> ------------------------------------------------
>>>>
>>>> (See the '"CONFIGURATION FILE"' section of linkgit:git-config[1] for
>>>> --
>>>> 1.6.2.1.352.gae594
>>>
>>> See this lengthy thread:
>>>
>>> http://article.gmane.org/gmane.comp.version-control.git/106634
>>
>> I've obviously seen that thread because I started it.
>
> Yeah, I noticed that only after sending my message. I hadn't realised at
> first because the patch really looked like it was written by someone who
> hadn't ever seen the thread, as it doesn't address the points raised in the
> thread at all.
I am addressing the points.
Show 14 quoted lines
>> Can you write more than one line to explain your point?
>
> I was thinking mostly of Junio's comments:
>
> http://article.gmane.org/gmane.comp.version-control.git/106667
>
> 'I am moderately against changing this part to use "git config". We
> traditionally introduced how to set configuration variables first by editing
> it in an editor, and this was quite deliberate, in order to show how the
> configuration file looks like, to demonstrate that there is no deep magic in
> the file format, and to explain that it is perfectly Ok to edit it without
> using "git config" command. I actually wish this section appeared a lot
> earlier in the document, but
> that is a separate issue.'

Like patch 7/8 patch does? http://article.gmane.org/gmane.comp.version-control.git/114163

The 'git config' howto section is the very first chapter.
> If you expect him to apply your patch, you'll probably want to address those
> concerns (and possibly others raised in referenced thread) in the commit
> message.

Yeah, I probably need to update the commit message to make that extra clear, I just cherry-picked the old patch. This is still RFC anyway.

-- 
Felipe Contreras
Previous: Wincent ColaiutaNext: Wincent Colaiuta
Message 35 of 40 in “user-manual: style improvements”
  1. 0/8 user-manual: style improvementsFelipe Contreras, Mar 22, 2009
  2. 1/8 user-manual: remove some git-foo usageFelipe Contreras, Mar 22, 2009
  3. 2/8 docbook: improve css styleFelipe Contreras, Mar 22, 2009
  4. 3/8 docbook: radical style changeFelipe Contreras, Mar 22, 2009
  5. Jeff KingMar 23, 2009
  6. Felipe ContrerasMar 23, 2009
  7. Jeff KingMar 23, 2009
  8. Felipe ContrerasMar 23, 2009
  9. Michael J GruberMar 23, 2009
  10. Felipe ContrerasMar 24, 2009
  11. Junio C HamanoMar 24, 2009
  12. Felipe ContrerasMar 24, 2009
  13. Jeff KingMar 24, 2009
  14. Felipe ContrerasMar 24, 2009
  15. Jeff KingMar 24, 2009
  16. Felipe ContrerasMar 24, 2009
  17. Michael J GruberMar 24, 2009
  18. Felipe ContrerasMar 24, 2009
  19. Jeff KingMar 24, 2009
  20. Michael J GruberMar 24, 2009
  21. Felipe ContrerasMar 24, 2009
  22. Felipe ContrerasMar 24, 2009
  23. Jeff KingMar 24, 2009
  24. Jeff KingMar 23, 2009
  25. Felipe ContrerasMar 23, 2009
  26. 5/8 user-manual: use 'fast-forward' instead of 'fast forward'Felipe Contreras, Mar 22, 2009
  27. 6/8 user-manual: use SHA-1 instead of SHA1 or sha1Felipe Contreras, Mar 22, 2009
  28. 7/8 user-manual: add global config sectionFelipe Contreras, Mar 22, 2009
  29. 8/8 user-manual: simplify the user configurationFelipe Contreras, Mar 22, 2009
  30. Wincent ColaiutaMar 22, 2009
  31. Felipe ContrerasMar 22, 2009
  32. Junio C HamanoMar 23, 2009
  33. Felipe ContrerasMar 23, 2009
  34. Wincent ColaiutaMar 23, 2009
  35. Felipe ContrerasMar 23, 2009
  36. Wincent ColaiutaMar 23, 2009
  37. Felipe ContrerasMar 24, 2009
  38. J. Bruce FieldsMar 24, 2009
  39. Felipe ContrerasMar 24, 2009
  40. J. Bruce FieldsMar 24, 2009

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.