From: "Adeodato Simó" <dato@net.com.org.es>
To: Pierre Habouzit <madcoder@debian.org>,
Junio C Hamano <gitster@pobox.com>, Git ML <git@vger.kernel.org>
Subject: Re: [PATCH] unquote_c_style: fix off-by-one.
Date: Fri, 7 Mar 2008 10:25:44 +0100 [thread overview]
Message-ID: <20080307092544.GA22069@chistera.yi.org> (raw)
In-Reply-To: <20080307004401.GA13642@artemis.madism.org>
* Pierre Habouzit [Fri, 07 Mar 2008 01:44:01 +0100]:
> On Thu, Mar 06, 2008 at 10:10:41PM +0000, Junio C Hamano wrote:
> > Pierre Habouzit <madcoder@debian.org> writes:
> > > Thanks to Adeodato Simò for having caught this.
> > > Signed-off-by: Pierre Habouzit <madcoder@debian.org>
> > Thanks. I would have appreciated a comment that said something about what
> > external breakages this one caused, so that we can have an entry in "bugs
> > fixed" list.
> > A quick audit of the existing callers suggests that it is fast-import.
Yes, it's fast-import. In particular, trying to rename a file whose name
contains spaces:
R "file 1.txt" file 2.txt
^
unquote_c_style() eats that space, thus fast-import
fails with:
fatal: Missing space after source: R "file 1.txt" file 2.txt
Cheers,
--
Adeodato Simó dato at net.com.org.es
Debian Developer adeodato at debian.org
- In Italy, for 30 years under the Borgias they had warfare, terror,
murder, bloodshed, but they produced Michelangelo, Leonardo da Vinci,
and the Renaissance. In Switzerland they had brotherly love - they had
500 years of democracy and peace, and what did that produce? The
cuckoo clock.
-- Harry Lime in “The Third Man”
next prev parent reply other threads:[~2008-03-07 12:24 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-03-06 21:28 [PATCH] unquote_c_style: fix off-by-one Pierre Habouzit
2008-03-06 22:10 ` Junio C Hamano
2008-03-07 0:44 ` Pierre Habouzit
2008-03-07 9:25 ` Adeodato Simó [this message]
2008-03-07 21:28 ` Junio C Hamano
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20080307092544.GA22069@chistera.yi.org \
--to=dato@net.com.org.es \
--cc=git@vger.kernel.org \
--cc=gitster@pobox.com \
--cc=madcoder@debian.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).