##// END OF EJS Templates
diffs: limit commit line context to MAX_DIFF to prevent packetOverflow errors.
marcink -
r3092:dae26a6b default
parent child Browse files
Show More
@@ -109,7 +109,7 b' def get_line_ctx(fid, request):'
109 retval = ln_ctx_global
109 retval = ln_ctx_global
110
110
111 try:
111 try:
112 return int(retval)
112 return min(diffs.MAX_CONTEXT, int(retval))
113 except Exception:
113 except Exception:
114 return 3
114 return 3
115
115
General Comments 0
You need to be logged in to leave comments. Login now