From: Robin Rosenberg Date: Fri, 23 Jan 2009 21:42:14 GMT Subject: Re: [JGIT PATCH 02/10] Expose the raw path for the current entry of a TreeWalk Message-ID: <200901232242.15073.robin.rosenberg.lists@dewire.com> In-Reply-To: <1232666890-23488-3-git-send-email-spearce@spearce.org> fredag 23 januari 2009 00:28:02 skrev Shawn O. Pearce: > Copying the path byte array (keeping it encoded in UTF-8) is quicker > than converting to String and then back again to UTF-8 when creating > a DirCacheEntry for the current position in a TreeWalk. [...] > + * Get the current entry's complete path as a UTF-8 byte array. /Hopefully/ UTF-8. It is often a legacy encoding, like ISO-8859-X, CP12xx etc. I'll come up with something less specific that just UTF-8. -- robin