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

Re: [PATCH] Re: git-mailinfo '-u' argument should be default.

From
David Woodhouse <dwmw2@infradead.org>
Date
Jan 10, 2007, 03:24 UTC
Message-ID
<1168399493.14763.462.camel@shinybook.infradead.org>
In-Reply-To
<7vejq3hf8m.fsf@assigned-by-dhcp.cox.net>
On Tue, 2007-01-09 at 16:55 -0800, Junio C Hamano wrote:
Show 9 quoted lines
> > That's not the use case for the -n option. Their case is what the
> > i18n.commitencoding configuration option exists for.
> 
> I think you missed a subtle difference.
> 
> For a project that is latin-1 only (or ISO-2022 only, for that
> matter -- 'only' is the real keyword here), users did not have
> to do anything, and happily kept using git, and that includes
> that they did not have to set i18n.commitencoding to anything.

Well, apart from the fact that gitweb and git-format-patch would be mislabelling their output, for example.

Show 7 quoted lines
> Defaulting to -u now means disrupt their established workflows
> are disrupted by people coming from UTF-8 only world.  They now
> are forced to set i18n.commitencoding to latin-1 and/or use -n.
>
> When we inconvenience others by making changes to make our own
> life easier, it is not a good idea to insult them at the same
> time; rather, we should be asking forgiveness from them.

This is true. Sometimes when we fix bugs, we find that people were relying on the old behaviour and are inconvenienced by the fix. That's unfortunate, and we should make sure there's a simple way for those people to adapt -- which in this case is setting 'i18n.commitencoding'.

I'm not entirely sure where the 'insulting' comes in though -- I think
you're referring to a comment which was 
 a) Only in my cover message rather than in the documentation, and
 b) Not even relevant to these people -- these people should be 
    setting i18n.commitencoding to match their status quo, and my
    disparaging comment was about the '-n' option which should be
    avoided.
-- 
dwmw2
Previous: Junio C Hamano
Message 8 of 8 in “git-mailinfo '-u' argument should be default.”
  1. David WoodhouseMay 12, 2006
  2. Re: git-mailinfo '-u' argument should be default.David Woodhouse, Jan 9, 2007
  3. Johannes SchindelinJan 9, 2007
  4. David WoodhouseJan 9, 2007
  5. Junio C HamanoJan 9, 2007
  6. David WoodhouseJan 9, 2007
  7. Junio C HamanoJan 10, 2007
  8. David WoodhouseJan 10, 2007

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.