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

Re: [PATCH 1/2] Unification of user message strings

From
Junio C Hamano <gitster@pobox.com>
Date
Mar 19, 2012, 21:36 UTC
Message-ID
<7vaa3c9ste.fsf@alter.siamese.dyndns.org>
In-Reply-To
<20120319205300.GA3039@sigill.intra.peff.net>
Jeff King <peff@peff.net> writes:
Show 19 quoted lines
> On Mon, Mar 19, 2012 at 06:51:42PM +0100, Vincent van Ravesteijn wrote:
>
>> Rewrite user messages to stick to a uniform style for all messages.
>> From the surrounding code, the following guidelines were deduced:
>> - messages start with a capital,
>
> I was surprised by this one, as I think we generally use lower-case
> messages. Grepping shows that lower-case has a slight edge, though it is
> far from decided:
> ...
> PS I was curious if it was simply that some people prefer one way and
>    not the other, but the results are quite mixed. Below is the result
>    of a small script I wrote that calculates "upper-casedness" per
>    author using the above regexes and git-blame.
> ...
>    You can see that some people are usually lowercase and some are usually
>    uppercase, but there are many people near 50%, doing both equally.
>    There's also some inaccuracy in my simplistic sampling. For example,
>    of my 13 upper-case messages, 11 of them are "BUG:".

I had a vague impression that plumbing messages tend to be lowercase. If it is not be too much trouble, it might be interesting to redo the numbers divided into the plumbing and Porcelain messages. Perhaps these "50%" folks updated both plumbing and Porcelain. Another possibility is that they tried to follow the local convention when they added a new one, or reworded an existing one.

If we would be rewording, we would only be doing the Porcelain messages, so I am OK with either way.

Previous: Jeff KingNext: Vincent van Ravesteijn
Message 6 of 10 in “Unify the style of user messages”
  1. 0/2 Unify the style of user messagesVincent van Ravesteijn, Mar 19, 2012
  2. 1/2 Unification of user message stringsVincent van Ravesteijn, Mar 19, 2012
  3. Junio C HamanoMar 19, 2012
  4. Vincent van RavesteijnMar 19, 2012
  5. Jeff KingMar 19, 2012
  6. Junio C HamanoMar 19, 2012
  7. Vincent van RavesteijnMar 20, 2012
  8. Jakub NarebskiMar 20, 2012
  9. Vincent van RavesteijnMar 20, 2012
  10. 2/2 Make some strings translatableVincent van Ravesteijn, Mar 19, 2012

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.