File gitDir = set.iterator().next().getValue();
if (gitDir == null)
return false; // TODO: or an error response code, 405?
db = FileRepositoryBuilder.create(gitDir);
Git git = new Git(db);
org.eclipse.jgit.api.Status gitStatus = git.status().call();
URI baseLocation = getURI(request);
String relativePath = GitUtils.getRelativePath(path, set.iterator().next().getKey());
IPath basePath = new Path(relativePath);
Status status = new Status(baseLocation, db, gitStatus, basePath);