Add LF before missing contributor agreement error

This forces the text to start on the next line, so that the client
side added "remote: error: " prefix does not cause an incorrect
line wrapping of the message.

Change-Id: I11d1b154a6f55550a71dc35315fe62efa5a9a263
This commit is contained in:
Shawn O. Pearce
2011-12-07 14:37:48 -08:00
parent 298afc1766
commit 2815072684

View File

@@ -315,7 +315,7 @@ public class ProjectServlet extends GitServlet {
if (s != Capable.OK) {
GitSmartHttpTools.sendError((HttpServletRequest) request,
(HttpServletResponse) response, HttpServletResponse.SC_FORBIDDEN,
s.getMessage());
"\n" + s.getMessage());
return;
}