Git development
 help / color / mirror / Atom feed
From: Junio C Hamano <gitster@pobox.com>
To: Steffen Prohaska <prohaska@zib.de>
Cc: git@vger.kernel.org
Subject: Re: [PATCH] Improved hint on how to set identity
Date: Mon, 13 Aug 2007 16:36:53 -0700	[thread overview]
Message-ID: <7vbqdbf1m2.fsf@assigned-by-dhcp.cox.net> (raw)
In-Reply-To: <1187042750257-git-send-email-prohaska@zib.de> (Steffen Prohaska's message of "Tue, 14 Aug 2007 00:05:50 +0200")

Steffen Prohaska <prohaska@zib.de> writes:

> Users typically want to set the default for their account. Thus,
> start the hint with how to achieve that; and only later explain
> how to restrict identity to a single repository.

If this were about the introductory part of the user manual, I
would definitely vote for suggesting the --global one first as
the baby steps will be done with one practice/sandbox repository
and then when the user graduates to work on other projects and
possibly under a different identity, it would make sense to
introduce the non global one as an advanced option.

> I watched someone setting up git, who never used it before.
> The hint was leading him into the wrong direction.

Real-life new user experience is a very valuable one.  Can you
elaborate how the hint led in a _wrong_ direction?  What is the
definition of "wrong" here?  It may be that not using --global
is perfectly the correct thing to do.  It really depends on the
project and the situation.

The condition to cause this error message to be shown is
probably a borderline, compared to the earlier "introductory
part of the manual" case.  You may have set an identity in one
repository without global, and then switched to another
repository and saw this message.  In which case you may want to
use a different identity or the same one and I would not say
which one is more common in the case for such a "second
repository".  When you work on two projects, managed by two
different organizations, it often is that you would want
per-repository identity.

Was this the first repository for this person to set up?

  reply	other threads:[~2007-08-13 23:37 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-08-13 22:05 [PATCH] Improved hint on how to set identity Steffen Prohaska
2007-08-13 23:36 ` Junio C Hamano [this message]
2007-08-14  5:05   ` Steffen Prohaska
2007-08-14  5:22     ` Junio C Hamano
2007-08-14  5:54       ` Steffen Prohaska
2007-08-14  6:32         ` Junio C Hamano

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=7vbqdbf1m2.fsf@assigned-by-dhcp.cox.net \
    --to=gitster@pobox.com \
    --cc=git@vger.kernel.org \
    --cc=prohaska@zib.de \
    /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