Add getNameString to TreeWalk to get only the last path component
commitb1a8735458037364f2b9fe7e2ec806ad26df0c63
authorShawn O. Pearce <spearce@spearce.org>
Thu, 21 Aug 2008 20:57:38 +0000 (21 13:57 -0700)
committerRobin Rosenberg <robin.rosenberg@dewire.com>
Wed, 27 Aug 2008 21:58:26 +0000 (27 23:58 +0200)
tree691b6fe6ca356f9885b93f9646587b1a312a6603
parent248f97256823854072649b0d30e8efbd70d88424
Add getNameString to TreeWalk to get only the last path component

Some applications may need to see only the name of the current
entry within its parent tree and not require the full path from
the root of the repository.

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