Thread (3 messages) flat view 3 messages, 3 authors, 2016-06-15

Re: old but persistent problem: bad line length character

From: Peter Kleiweg <hidden>
Date: 2016-06-15 22:51:26

Jeff King schreef op de 7e dag van de zomermaand van het jaar 2011:
On Tue, Jun 07, 2011 at 06:33:07PM +0200, Peter Kleiweg wrote:
quoted
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 ?

quoted
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/
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help