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

Re: [RFC/PATCH 2/4] textconv: make diff_options accessible from blame

From
Bbonneta <bonneta@ensimag.fr>
Date
Jun 4, 2010, 10:21 UTC
Message-ID
<57f94007bc6d4f34d1929a005110073f@ensimag.fr>
In-Reply-To
<vpqy6evut1o.fsf@bauges.imag.fr>

On Fri, 04 Jun 2010 09:59:47 +0200, Matthieu Moy <Matthieu.Moy@grenoble-inp.fr> wrote:

Show 5 quoted lines
> Junio C Hamano <gitster@pobox.com> writes:
> 
>> Axel Bonnet <axel.bonnet@ensimag.imag.fr> writes:
>>
>>> Diff_options specify whether conversion is activated or not. Blame
needs
>>> to access these options in order to concert files with external
drivers
Show 31 quoted lines
>>>
>>> Signed-off-by: Diane Gasselin <diane.gasselin@ensimag.imag.fr>
>>> Signed-off-by: Clément Poulain <clement.poulain@ensimag.imag.fr>
>>> Signed-off-by: Axel Bonnet <axel.bonnet@ensimag.imag.fr>
>>
>> The name of Clément is spelled correctly on the mail header while S-o-b
>> line is corrupt.
> 
> Actually, it's valid UTF-8, but there's no header specifying the
> encoding in the email, therefore, the reader's default applies. My
> mailer displays it correctly, but yours doesn't.
> 
>> Perhaps you have recorded your commits in UTF-8 but allowed your MUA
>> to send in 8859-1?
> 
> The MUA seems to be git-send-email. According to the source (I didn't
> find it in the doc), git-send-email looks at the patch's headers to
> specify the encoding.
> 
> On my machine, the patch applies well, and if I re-export it using
> format-patch, I do get the headers:
> 
> Content-Type: text/plain; charset=UTF-8
> Content-Transfer-Encoding: 8bit
> 
> If I send myself the patch with git-send-email, I also get the headers
> in the email (I tried from ensibm, which is the machine which sent the
> patch serie). So, it doesn't look like a bug in git, but rather a
> miss-use.
> 
> Axel, can you give us the exact command(s) you used to send the patch?

I made the patch with "git send-email --cover --annotate", and then edited the messages with vim.

I added the S-o-b lines by copy-pasting them from the test mail I had send to Matthieu (from thunderbird). I saw there was a problem of encoding with the "é" of Clément, so I modified it.

I think I should have written the S-o-b lines directly in vim.
Previous: Matthieu MoyNext: Matthieu Moy
Message 15 of 16 in “textconv support for blame”
  1. 0/4 textconv support for blameAxel Bonnet, Jun 3, 2010
  2. 1/4 textconv: make the API publicAxel Bonnet, Jun 3, 2010
  3. 2/4 textconv: make diff_options accessible from blameAxel Bonnet, Jun 3, 2010
  4. 3/4 textconv: support for blameAxel Bonnet, Jun 3, 2010
  5. 4/4 t/t8006: test textconv support for blameAxel Bonnet, Jun 3, 2010
  6. Johannes SixtJun 3, 2010
  7. Diane GasselinJun 4, 2010
  8. Matthieu MoyJun 4, 2010
  9. Matthieu MoyJun 4, 2010
  10. Junio C HamanoJun 4, 2010
  11. Diane GasselinJun 4, 2010
  12. Jeff KingJun 6, 2010
  13. Junio C HamanoJun 4, 2010
  14. Matthieu MoyJun 4, 2010
  15. bonnetaJun 4, 2010
  16. Matthieu MoyJun 4, 2010

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.