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

Re: [PATCH] Avoid perl in t1300-repo-config

From
Johannes Schindelin <johannes.schindelin@gmx.de>
Date
Jun 28, 2007, 14:19 UTC
Message-ID
<Pine.LNX.4.64.0706281412190.4438@racer.site>
In-Reply-To
<81b0412b0706280041i535efdf0r87e552551b796044@mail.gmail.com>
Hi,
On Thu, 28 Jun 2007, Alex Riesen wrote:
Show 6 quoted lines
> On 6/28/07, Junio C Hamano <gitster@pobox.com> wrote:
> 
> > By the way, is it possible for gmail users to avoid attachments when 
> > sending patches in?
> 
> No. The message text is unpredictably garbled
It is not really unpredictable.
- whitespace at the end of line is stripped
- too long lines are _always_ broken (and our diffstat lines qualify for 
  that)
- empty lines at the end of the message are stripped (does not concern us)
- empty lines at the beginning of the message are stripped (does not 
  concern us either)
- encodings different from UTF-8 are a problem

Of course, the first reason already precludes diffs from being sent. Just think of an empty line, which is in both versions (or even worse, a single space on the line).

Ciao, Dscho

Previous: Alex Riesen
Message 9 of 9 in “Avoid perl in t1300-repo-config”
  1. Avoid perl in t1300-repo-configAlex Riesen, Jun 27, 2007
  2. Frank LichtenheldJun 27, 2007
  3. Alex RiesenJun 27, 2007
  4. Junio C HamanoJun 28, 2007
  5. Alex RiesenJun 28, 2007
  6. Avoid perl in t1300-repo-configAlex Riesen, Jun 28, 2007
  7. Jakub NarebskiJun 28, 2007
  8. Alex RiesenJun 28, 2007
  9. Johannes SchindelinJun 28, 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.