@PropertyDescription(name = GitConstants.KEY_DIFF)
private URI getDiffLocation() throws URISyntaxException {
Assert.isNotNull(cloneLocation);
IPath basePath = new Path(cloneLocation.getPath());
IPath p = new Path(GitServlet.GIT_URI).append(Diff.RESOURCE).append(getName(false, true)).append(basePath.removeFirstSegments(2));
return new URI(cloneLocation.getScheme(), cloneLocation.getUserInfo(), cloneLocation.getHost(), cloneLocation.getPort(), p.toString(),
cloneLocation.getQuery(), cloneLocation.getFragment());
}
@PropertyDescription(name = ProtocolConstants.KEY_NAME)