From: Junio C Hamano Date: Wed, 02 Apr 2008 15:50:07 GMT Subject: Re: BUG: "git add --interactive" does not work with UTF-8 filenames Message-ID: <7v3aq49ryo.fsf@gitster.siamese.dyndns.org> In-Reply-To: <200804021317.16007.jnareb@gmail.com> Jakub Narebski writes: > By the way, the code to unwrap the path quoting can be found in gitweb > as unescape() subroutine... or git-add--interactive can use '-z' switch. Yes, but if you use '-z' to read from plumbing, you would need your own wrapping on the UI side to protect your output from control characters (most notably LF) embedded in pathnames. Also I had an impression that the compatibility implementation of run_cmd_pipe() had some issues with NUL terminated list.