James Moger
2011-05-20 f90dc635928f367f9078f814488c7e385ebc4e2e
src/com/gitblit/utils/StringUtils.java
@@ -107,4 +107,11 @@
         throw new RuntimeException(t);
      }
   }
   public static String getRootPath(String path) {
      if (path.indexOf('/') > -1) {
         return path.substring(0, path.indexOf('/'));
      }
      return "";
   }
}