James Moger
2011-06-02 a125cf6876e0edc5a2498df57a9df06d60b1f572
src/com/gitblit/utils/StringUtils.java
@@ -134,4 +134,12 @@
      }
      return "";
   }
   public static String getRelativePath(String basePath, String fullPath) {
      String relativePath = fullPath.substring(basePath.length()).replace('\\', '/');
      if (relativePath.charAt(0) == '/') {
         relativePath = relativePath.substring(1);
      }
      return relativePath;
   }
}