James Moger
2014-05-01 c9de84169e407fbf1963e7ad0e1f3f3e57cfae24
src/main/java/com/gitblit/transport/ssh/git/BaseGitCommand.java
@@ -86,10 +86,9 @@
      repository = repository.replace('\\', '/');
      // ssh://git@thishost/path should always be name="/path" here
      //
      if (!repository.startsWith("/")) {
         throw new Failure(1, "fatal: '" + repository + "': not starts with / character");
      if (repository.startsWith("/")) {
         repository = repository.substring(1);
      }
      repository = repository.substring(1);
      try {
         return repositoryResolver.open(getContext().getClient(), repository);
      } catch (Exception e) {