login
Header Space

 
 

Re: Meaning of "fatal: protocol error: bad line length character"?

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Junio C Hamano <junkio@...>, <git@...>
Date: Monday, January 22, 2007 - 6:16 pm

On Monday, January 22, 2007 at 13:55:25 (-0600) Bill Lear writes:

Looks like it is our developer's fault after all.  

% git push
[...]
Unpacking 7 objects
 100% (7/7) done
error: protocol error: bad line length character
<<<<<
Unknown command: "#alias"
refs/heads/tau_mt_1: 0a5a7ac9b81a90500b9c9c44a22793890513cd5a -> 3d0c74c15953ad5bc6a71eefa623933163c4f05f
[...]

The problem is that his mailer is putting out: 

    Unknown command: "#alias"

when it gets to the mail command at the bottom of the update hook.  So,
he's got a bad line in his .mailrc file.

I do think that some augmentation of the error output is in order,
either as previously posted, or something fancier.  It would be even
better if this sort of thing did not trip up git, though perhaps
I don't understand enough of how the update hook and git interact.


Bill
-
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: Meaning of "fatal: protocol error: bad line length chara..., Bill Lear, (Mon Jan 22, 6:16 pm)
speck-geostationary