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

Re: old but persistent problem: bad line length character

From
Peter Kleiweg <pkleiweg@xs4all.nl>
Date
Jun 7, 2011, 22:32 UTC
Message-ID
<alpine.DEB.1.10.1106072337500.11389@localhost>
In-Reply-To
<20110607180624.GA23752@sigill.intra.peff.net>
Jeff King schreef op de 7e dag van de zomermaand van het jaar 2011:
Show 5 quoted lines
> On Tue, Jun 07, 2011 at 06:33:07PM +0200, Peter Kleiweg wrote:
> 
> > How do bugs in Git get solved? I can't find an issue tracker. 
> 
> You send an email to the mailing list and people work on it. :)
Is that git@vger.kernel.org ?
Show 8 quoted lines
> > I added some debug code in pkt-line.c, function 
> > packet_read_line(). This tells me that 'buffer' that is passed 
> > to packet_read_line() contains nothing but null characters, 
> > while 'size' is set to 1000.
> 
> Yeah, it's expecting data to be written into it. You need to see what
> packet_read_line reads into linelen via safe_read (which is also printed
> in the error message, so it looks from the above like it contains NULs).
I made it read some more than 4 bytes. And this is what I get:
{27}]0;github git-receive-pack 'pebbe/Gabmap.git'{7}

Ah, I see! I have a wrapper set-up around ssh that sets the window title of the shell to the ssh command argument. That is what messes things up!

OK. Fixed now.
-- 
Peter Kleiweg
http://pkleiweg.home.xs4all.nl/
Previous: Jeff KingNext: Junio C Hamano
Message 3 of 6 in “old but persistent problem: bad line length character”
  1. Peter KleiwegJun 7, 2011
  2. Jeff KingJun 7, 2011
  3. Peter KleiwegJun 7, 2011
  4. Junio C HamanoJun 8, 2011
  5. Jakub NarebskiJun 8, 2011
  6. Peter KleiwegJun 8, 2011

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.