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

Re: [PATCH 01/10] Add a birdview-on-the-source-code section to the user manual

From
JFJ. Bruce Fields <bfields@fieldses.org>
Date
May 15, 2007, 15:24 UTC
Message-ID
<20070515152457.GC6794@fieldses.org>
In-Reply-To
<20070515050808.GA11745@coredump.intra.peff.net>
On Tue, May 15, 2007 at 01:08:08AM -0400, Jeff King wrote:
Show 9 quoted lines
> However, the content-type is already specified, so it shouldn't need to
> rewrite. However, I notice that your original message is missing a
> MIME-Version: 1.0 header. My guess is that vger's logic is that without
> that header, it can't trust the Content-Type you have provided (and
> indeed, not including MIME-Version violates the MIME RFCs, I believe).
> 
> I assumed this was a bug in git-send-email, but looking closer, it
> doesn't put in any mime information at all! So your sending smtp server
> is adding in the content-type header,
Nope...
Show 6 quoted lines
> but it's failing to add the
> MIME-Version header, which I think is a bug (I can dig up the RFC
> reference if you want).
> 
> Arguably, git should be generating the full MIME header-set, since it
> knows what actual encoding the message is in.

... Yes. But actually, the Content-Type header is from git-format-patch:

$ git format-patch --stdout 12806b^..12806b |head
From 12806b65b0d1faec249002c51b871775dc344a47 Mon Sep 17 00:00:00 2001
From: Johannes Schindelin <Johannes.Schindelin@gmx.de>
Date: Thu, 10 May 2007 12:36:15 +0200
Subject: [PATCH] Add a birdview-on-the-source-code section to the user
manual
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 8bit

In http://thread.gmane.org/gmane.comp.version-control.git/42479, a birdview on the source code was requested.

So it's a git-format-patch bug?
--b.
Previous: Jeff KingNext: Jeff King
Message 14 of 17 in “Re: [PATCH 01/10] Add a birdview-on-the-source-code section to the user manual”
  1. Karl HasselströmMay 14, 2007
  2. J. Bruce FieldsMay 14, 2007
  3. Matthieu MoyMay 14, 2007
  4. Karl HasselströmMay 14, 2007
  5. J. Bruce FieldsMay 15, 2007
  6. Jeff KingMay 15, 2007
  7. Jeffrey C. OllieMay 15, 2007
  8. Jeff KingMay 15, 2007
  9. Karl HasselströmMay 15, 2007
  10. Junio C HamanoMay 15, 2007
  11. Jeff KingMay 15, 2007
  12. Junio C HamanoMay 15, 2007
  13. Jeff KingMay 16, 2007
  14. J. Bruce FieldsMay 15, 2007
  15. Jeff KingMay 15, 2007
  16. Junio C HamanoMay 15, 2007
  17. Jeff KingMay 16, 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.