42:06c224e8b052
Anton Shestakov <av6@dwimlabs.net>, Sun, 19 Jun 2016 14:07:11 +0800
incoming: skip checking the whole line when it's linter output When a line starts with a certain pattern, it's recognized as linter output, but determining if it's an error or a warning was done looking at the whole string again multiple times. Let's save on regexes and look only on the important part.

/templates/

.. drwxr-xr-x
ui/ drwxr-xr-x files
404.html 305 -rw-r--r-- file | revisions | annotate
500.html 305 -rw-r--r-- file | revisions | annotate
base.html 1870 -rw-r--r-- file | revisions | annotate
check.html 1798 -rw-r--r-- file | revisions | annotate
index.html 948 -rw-r--r-- file | revisions | annotate
project.html 1289 -rw-r--r-- file | revisions | annotate
status.svg 970 -rw-r--r-- file | revisions | annotate