git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Luke Diamand <luke@diamand.org>
To: Junio C Hamano <gitster@pobox.com>
Cc: Pete Wyckoff <pw@padd.com>, git@vger.kernel.org
Subject: Re: [PATCH v3] git-p4: add option to preserve user names
Date: Sun, 08 May 2011 21:35:28 +0100	[thread overview]
Message-ID: <4DC6FE90.6040406@diamand.org> (raw)
In-Reply-To: <7voc3dt7wq.fsf@alter.siamese.dyndns.org>

On 08/05/11 18:32, Junio C Hamano wrote:
> Luke Diamand<luke@diamand.org>  writes:
>
>>> It looks to me that the message is not helping the users, even though it
>>> may help as a debugging aid for git-p4 developers.
>>
>> Should I just remove it?
>>
>> I guess it only adds a small amount of information which could be
>> explained in the instructions.
>
> I was trying to get a feel of how much thinking went behind that message,
> by suggesting a possible improvement to help users who forgot to pass the
> new option when they might have wanted to, instead of just assuring users
> who did pass the option when the command did the right thing for them.
>
> People learn to quickly ignore repeated and regular messages. They will
> learn that they will get that message whenever they pass the new option,
> and they learn that most of the time it says what they wanted, and will
> easily miss when the username you put in the message is different from
> what they expect.
>
> In our commit template, we say "# Author: author name" when and only when
> it is different from you. Most of the time, you are committing your own
> commit, so this line is _unusual_ and that is very much deliberate.
>
> If you do not think of a good way to improve the "help" part of the patch,
> that is Ok. We are still making progress by giving a functionality that
> has been missing.
>
> To remove or to keep, I am less qualified to judge than either you or
> Pete. I'm not the primary audience. If you think it helps users, leave it
> in. Otherwise remove.

Per your suggestion, I'm working on a pair of patches that are:

(a) the previous patch ("minor improvements"), but without the warning. 
git-p4.txt is updated to make it clearer what to expect.

(b) a second patch that puts a warning in the commit template if you are 
going to lose authorship information. The warning is disableable  via 
git-config.

Regards!
Luke

      reply	other threads:[~2011-05-08 20:35 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-05-05  6:43 [PATCH v3] git-p4: add option to preserve user names Luke Diamand
2011-05-05  6:43 ` Luke Diamand
2011-05-06  5:07 ` Junio C Hamano
2011-05-06  5:25   ` Luke Diamand
2011-05-06 23:59     ` Pete Wyckoff
2011-05-07 22:22       ` Junio C Hamano
2011-05-08 10:58         ` Luke Diamand
2011-05-08 17:32           ` Junio C Hamano
2011-05-08 20:35             ` Luke Diamand [this message]

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=4DC6FE90.6040406@diamand.org \
    --to=luke@diamand.org \
    --cc=git@vger.kernel.org \
    --cc=gitster@pobox.com \
    --cc=pw@padd.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).