From: Junio C Hamano Date: Fri, 14 Jun 2013 18:33:49 GMT Subject: Re: [[PATCH v3] 1/2] [submodule] handle multibyte characters in name Message-ID: <7vfvwko836.fsf@alter.siamese.dyndns.org> In-Reply-To: <20130614182741.GA5812@paksenarrion.iveqy.com> Fredrik Gustafsson writes: > On Fri, Jun 14, 2013 at 10:23:52AM -0700, Junio C Hamano wrote: >> Fredrik Gustafsson writes: >> >> > ... 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. Heh, no need to be sorry. It was a hint, and I just made you a future developer ;-)