git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Felipe Contreras <felipe.contreras@gmail.com>
To: Junio C Hamano <gitster@pobox.com>
Cc: git@vger.kernel.org
Subject: Re: [PATCH 1/2] user-manual: Simplify the user configuration.
Date: Wed, 21 Jan 2009 23:19:11 +0200	[thread overview]
Message-ID: <94a0d4530901211319t8126611wc1437848631fe988@mail.gmail.com> (raw)
In-Reply-To: <7v8wp4e5wn.fsf@gitster.siamese.dyndns.org>

On Wed, Jan 21, 2009 at 10:54 PM, Junio C Hamano <gitster@pobox.com> wrote:
> Felipe Contreras <felipe.contreras@gmail.com> writes:
>
>> 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.
>
> 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.

I agree that it's good that people get familiar with the config
format, and that it should appear earlier in the document, perhaps as
a separate section. However, for new users that just want to get
started any extra burden weighs in the misconception that git is not
user friendly.

I read the comments in both threads Jeff pointed out and I have
comments regarding the argument that it's easy to edit a text file.

It's easy to *change* a text file, not so much to write something by
hand. Although the user would probably just copy-paste the text from
the online manual (changing spaces by a tag in the process) there's a
possibility that the manual is printed.

This brings back my previous question: where is the home directory in
a Windows system?

An idea would be to add an --edit option to git config, so the users
don't need to care about the location of the text file and just do
"git config --global --edit" which would bring the editor. Although
I'm not sure how that would work on Windows since the editor is
probably not properly configured at that point.

Now, *nobody* has replied back the comments of providing both the git
config command and .gitconfig snip. It was mentioned in both threads
and ignored.

Anyone against that?

-- 
Felipe Contreras

  parent reply	other threads:[~2009-01-21 21:20 UTC|newest]

Thread overview: 25+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-01-21 18:09 [PATCH 1/2] user-manual: Simplify the user configuration Felipe Contreras
2009-01-21 18:09 ` [PATCH 2/2] Fix typo Felipe Contreras
2009-01-21 18:55 ` [PATCH 1/2] user-manual: Simplify the user configuration Markus Heidelberg
2009-01-21 19:04   ` [PATCH] " Felipe Contreras
2009-01-21 19:18     ` Jeff King
2009-01-21 19:39       ` Felipe Contreras
2009-01-21 19:51         ` Jeff King
2009-01-21 20:54 ` [PATCH 1/2] " Junio C Hamano
2009-01-21 21:13   ` Wincent Colaiuta
2009-01-21 21:19   ` Felipe Contreras [this message]
2009-01-22 16:17     ` Hannu Koivisto
2009-01-22 16:57       ` Felipe Contreras
2009-01-22 17:14         ` Junio C Hamano
2009-01-22 17:28           ` Johannes Schindelin
2009-01-22 18:59         ` Hannu Koivisto
2009-01-24  8:21           ` Felipe Contreras
2009-01-24 13:42             ` Johannes Schindelin
2009-01-24 14:04               ` Felipe Contreras
2009-01-25 20:34                 ` Junio C Hamano
2009-01-25 21:12                   ` Felipe Contreras
2009-01-25 21:44                     ` Jeff King
2009-01-25 22:55                       ` Wincent Colaiuta
2009-01-25 23:20                         ` Jeff King
2009-01-25  7:32           ` Kyle Moffett
2009-01-25 12:06             ` Johannes Schindelin

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=94a0d4530901211319t8126611wc1437848631fe988@mail.gmail.com \
    --to=felipe.contreras@gmail.com \
    --cc=git@vger.kernel.org \
    --cc=gitster@pobox.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).