Path p = new Path(path);
// FIXME: what if a remote or branch is named "file"?
if (p.segment(2).equals("file")) { //$NON-NLS-1$
// /git/remote/{remote}/{branch}/file/{path}
Object cookie = request.getAttribute(GitConstants.KEY_SSO_TOKEN);
PushJob job = new PushJob(TaskJobHandler.getUserId(request), cp, p, srcRef, tags, force, cookie);
return TaskJobHandler.handleTaskJob(request, response, job, statusHandler, JsonURIUnqualificationStrategy.ALL_NO_GIT);
}
return false;
}