Expose the raw path for the current entry of a TreeWalk
commita9db7eeb2461194f6ed147cdbb5a26cdae6c276b
authorShawn O. Pearce <spearce@spearce.org>
Thu, 22 Jan 2009 23:28:02 +0000 (22 15:28 -0800)
committerRobin Rosenberg <robin.rosenberg@dewire.com>
Fri, 23 Jan 2009 22:27:18 +0000 (23 23:27 +0100)
treefcdb8d21d0cae8fdfccdfc7328f6a2d9078bf63e
parent3ff4c5d52dee6983538bb1d04f759e4a3d40a7f0
Expose the raw path for the current entry of a TreeWalk

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.

Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
Signed-off-by: Robin Rosenberg <robin.rosenberg@dewire.com>
org.spearce.jgit/src/org/spearce/jgit/treewalk/TreeWalk.java