Thread (8 messages) flat view 8 messages, 5 authors, 2016-08-11

Re: Non-ASCII paths and git-cvsserver

From: sf <hidden>
Date: 2016-08-11 20:41:25

Possibly related (same subject, not in this thread)

Junio C Hamano wrote:
sf [off-list ref] writes:
quoted
I want to access a git repository via git-cvsserver. The problem is
that the repository contains paths with umlauts. These paths come out
quoted and escaped when checked out with cvs.
I think this is because the cvsserver invokes diff-tree and
ls-tree without -z and the output from these command quote
non-ascii letters as unsafe.
I knew I had seen that kind of quoting before but right then I thought 
it was related to Perl or SQLite.
Martin's sqlite may probably be needed as well, but regardless
of that something like this patch is needed -- otherwise what 
populates sqlite database will be quoted to begin with so it
would not help much.
Martin, are you sure your patch is needed? (see below)
I've tested with your reproduction recipe, but otherwise not
tested this patch.
Thanks, Junio. Paths with umlauts are returned correctly now both in 
UTF-8 and ISO-8859-1. I guess git-cvsserver is now as encoding agnostic 
as git core.

Regards
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help