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

Re: [PATCH v3] git-p4: add option to preserve user names

From
Junio C Hamano <gitster@pobox.com>
Date
May 8, 2011, 17:32 UTC
Message-ID
<7voc3dt7wq.fsf@alter.siamese.dyndns.org>
In-Reply-To
<4DC67756.3090002@diamand.org>
Luke Diamand <luke@diamand.org> writes:
Show 7 quoted lines
>> 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.

Thanks.
Previous: Luke DiamandNext: Luke Diamand
Message 8 of 9 in “git-p4: add option to preserve user names”
  1. git-p4: add option to preserve user namesLuke Diamand, May 5, 2011
  2. git-p4: add option to preserve user namesLuke Diamand, May 5, 2011
  3. Junio C HamanoMay 6, 2011
  4. Luke DiamandMay 6, 2011
  5. Pete WyckoffMay 6, 2011
  6. Junio C HamanoMay 7, 2011
  7. Luke DiamandMay 8, 2011
  8. Junio C HamanoMay 8, 2011
  9. Luke DiamandMay 8, 2011

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.