db = FileRepositoryBuilder.create(gitDir);
ConfigOption configOption = new ConfigOption(cloneLocation, db, p.segment(0));
if (!configOption.exists())
return statusHandler.handleRequest(request, response, new ServerStatus(IStatus.ERROR, HttpServletResponse.SC_NOT_FOUND,
"There is no config entry with key provided", null));
OrionServlet.writeJSONResponse(request, response, configOption.toJSON(), JsonURIUnqualificationStrategy.ALL_NO_GIT);
return true;
} catch (IllegalArgumentException e) {
return statusHandler.handleRequest(request, response, new ServerStatus(IStatus.ERROR, HttpServletResponse.SC_BAD_REQUEST, e.getMessage(), e));
} finally {
if (db != null) {