Fix Repository isValidRefName() for empty names
commit7adedc3e2a97a309f8113dfe34da6c8c257f2c06
authorMarek Zawirski <marek.zawirski@gmail.com>
Sun, 17 Aug 2008 20:43:43 +0000 (17 22:43 +0200)
committerRobin Rosenberg <robin.rosenberg@dewire.com>
Thu, 21 Aug 2008 19:19:39 +0000 (21 21:19 +0200)
tree24cbed301ec0ba515af89b13cc278a6cdb0fac39
parentdf40f2682f0ff1f95839585e9e7a04476cce97fe
Fix Repository isValidRefName() for empty names

Empty name is obviously invalid - method should return false.

Signed-off-by: Marek Zawirski <marek.zawirski@gmail.com>
Signed-off-by: Robin Rosenberg <robin.rosenberg@dewire.com>
org.spearce.jgit/src/org/spearce/jgit/lib/Repository.java