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

Re: [[PATCH v3] 1/2] [submodule] handle multibyte characters in name

From: Fredrik Gustafsson <hidden>
Date: 2016-06-15 22:57:45

Possibly related (same subject, not in this thread)

On Fri, Jun 14, 2013 at 10:23:52AM -0700, Junio C Hamano wrote:
Fredrik Gustafsson [off-list ref] writes:
quoted
... The
correct approach to solve the problem for all pathnames may be to use
"ls-files -z" and tell the Perl script that reads its output to read NUL
separated records by using $/ = "\0".
I've tentatively queued the attached without 2/2; the scriptlet is
small enough not to matter in an eventual rewrite, so it shouldn't
make a difference either way.
Sorry, I didn't knew enough perl to understand that that was a
suggestion rather than a hint to a future developer.

Now when I see how you meant it's looks like the best solution to me.
To me it looks like we now should be able to handle the multiline case
here. However, git submodule add doesn't handle newline yet, so it
really doesn't matter for now.

Thanks for the help!

-- 
Med vänliga hälsningar
Fredrik Gustafsson

tel: 0733-608274
e-post: iveqy@iveqy.com
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help