Add a utility method for shortening long ref names to short ones.
commita8facf8cef63a3c49413069aadc3f58ba103e766
authorRobin Rosenberg <robin.rosenberg@dewire.com>
Wed, 27 May 2009 22:08:53 +0000 (28 00:08 +0200)
committerShawn O. Pearce <spearce@spearce.org>
Wed, 3 Jun 2009 15:42:28 +0000 (3 08:42 -0700)
tree222ce9c14af2e611cd98c8e601e747211d05724d
parent24dfdc83069c65fd13c9e5213534ed029de6f91c
Add a utility method for shortening long ref names to short ones.

refs/heads/x -> x etc.

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