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

Re: Re: [PATCH] teach the user to be nice to git and let him say please sometimes

From
Heiko Voigt <hvoigt@hvoigt.net>
Date
May 13, 2013, 13:44 UTC
Message-ID
<20130513134415.GB3561@book-mint>
In-Reply-To
<7vobcfvqu1.fsf@alter.siamese.dyndns.org>
Hi,
On Sun, May 12, 2013 at 02:19:34PM -0700, Junio C Hamano wrote:
Show 12 quoted lines
> Heiko Voigt <hvoigt@hvoigt.net> writes:
> 
> > Since ages we do not care about our program enough. Lets not treat them
> > as slaves anymore and say please.
> >
> > Signed-off-by: Heiko Voigt <hvoigt@hvoigt.net>
> > Signed-off-by: Jonathan Nieder <jrnieder@gmail.com>
> > Signed-off-by: Jens Lehmann <Jens.Lehmann@web.de>
> > Signed-off-by: Thomas Rast <trast@inf.ethz.ch>
> > Signed-off-by: Johan Herland <johan@herland.net>
> 
> So these were the ones present on the dev-day?

No this was just a random sample of the ones sitting at the same beer garden table that this feature was implemented on.

> I actually would have expected, from the "please" title, the
> opposite, us saying "please" to the user, either once in a while in
> the advice messages we give to them, or perhaps in the en_POLITE
> locale ;-)

The en_POLITE is also a nice idea :-) We could split up the work on the translations amongst all people joining a git meetup.

Show 11 quoted lines
> >  .gitignore                       |  1 +
> >  Makefile                         |  1 +
> >  builtin.h                        |  1 +
> >  builtin/config.c                 | 23 ++-----------------
> >  builtin/please.c                 |  9 ++++++++
> >  cache.h                          |  1 +
> >  config.c                         | 23 +++++++++++++++++++
> >  contrib/completion/git-prompt.sh |  5 +++-
> >  git.c                            | 49 +++++++++++++++++++++++++++++++++++++++-
> 
> There is no test to protect this feature from future breakages?

In fact the whole testsuite should fail after the first 10 tests if you said please right before running it. So since battery life is short and this feature so important we did not bother to fix that. We already had enough please complaints during intermediate commits and entering the signed-off messages. It is really annoying, you should try this patch! ;-) And it is especially unuseful when you are committing using git gui.

Cheers Heiko
Previous: Junio C HamanoNext: Thomas Rast
Message 7 of 9 in “teach the user to be nice to git and let him say please sometimes”
  1. teach the user to be nice to git and let him say please sometimesHeiko Voigt, May 11, 2013
  2. Ramkumar RamachandraMay 12, 2013
  3. Duy NguyenMay 12, 2013
  4. Heiko VoigtMay 13, 2013
  5. Duy NguyenMay 13, 2013
  6. Junio C HamanoMay 12, 2013
  7. Heiko VoigtMay 13, 2013
  8. Thomas RastMay 13, 2013
  9. Junio C HamanoMay 13, 2013

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.