Re: [PATCH v2 3/3] send-pack: assign remote errors to each ref
- From
Johannes Schindelin <johannes.schindelin@gmx.de>
- Date
- Nov 14, 2007, 02:01 UTC
- Message-ID
- <Pine.LNX.4.64.0711140159550.4362@racer.site>
- In-Reply-To
- <7vbq9xpprg.fsf@gitster.siamese.dyndns.org>
Hi,
On Tue, 13 Nov 2007, Junio C Hamano wrote:
Show 8 quoted lines
> Jeff King <peff@peff.net> writes: > > > 2. the status parsing is not foolproof. We get a line like > > > > ng refs/heads/master arbitrary msg > > > > which cannot be parsed unambiguously in the face of > > refnames with spaces.
Since when can refnames contain spaces? In my copy of git, bad_ref_char() in refs.c returns 1 if ch <= ' '. It's the first error path, even.
Ciao, Dscho