Enable syntax coloring for Go, BUCK and .gitmodules

Register a custom MimeDetector that identifies these
files and selects the content type known to CodeMirror.

Change-Id: I4335e79ebc9d5e89db6cd0e7040486bd97871b47
SideBySide2: Map *.cxx and *.hxx to clike CodeMirror mode

These extensions are not currently recognized as C++ source code.
Add a static mapping for them to the C++ MIME types recognized by
CodeMirror using the clike mode.

Bug: issue 2320
Change-Id: I454b982deb8a27643bbaa0c928ffe8e20f426d43
SideBySide2: Map .py files to text/x-python

Change-Id: I5374219ae8b322b87c6b139108534b005c9e3b37
Fix ArrayIndexOutOfBoundsException on initial commits

PatchSetInserter crashed if given a new patch set for an initial
commit in a repository. The lack of parents caused getParent(0)
to throw an exception.

Instead require the two commits to have the same number of parents.
If that number is 0, the commits are NO_CODE_CHANGE. If >0 then
test only the first parent as before.

Change-Id: I6cefd5f16bf866062b247143a64d3eac92710192
Update 2.8.1 release notes with recently merged changes

Change-Id: I278e2874cfdd683dbedf5af9024184db2a528648
Merge "Fix ArrayIndexOutOfBoundsException on initial commits" into stable-2.8
Merge changes I5374219a,I454b982d into stable-2.8

* changes:
  SideBySide2: Map .py files to text/x-python
  SideBySide2: Map *.cxx and *.hxx to clike CodeMirror mode
Merge "Update 2.8.1 release notes with recently merged changes" into stable-2.8
Update 2.8 release notes with changes from stable-2.6 and stable-2.7

The stable-2.6 and stable-2.7 branches have been removed, and there
will be no further releases on the 2.6 and 2.7 series.

All the changes merged into those branches since the 2.7 release are
already released in 2.8.

Add the changes in the release notes.

Change-Id: I191846f08c1545dadae28eb167a8fc4195e0dbdb
Add one more fix in the 2.8 release notes

Change-Id: Ic7066db49dcd28276fe2a068cc20bc763b8f19d5
Add warning about removal of `approve` alias to 2.8 release notes

This should be mentioned as warning since users of the Gerrit Trigger
plugin need to adapt the plugin configuration.

Change-Id: Ib86922f4a665abbb6ad293f3e0c700cf483f44af
Signed-off-by: Edwin Kempin <edwin.kempin@sap.com>
Warn in 2.8 rel. notes that ChangeScreen2 needs download-commands plugin

Without this plugin the new change screen doesn't provide any download
commands. Admins must know that they need to install this plugin.

Change-Id: I389e267b99949fe69668d25b26ab608ace33c534
Signed-off-by: Edwin Kempin <edwin.kempin@sap.com>
Replace "\--" with "--" in documentation.

"\--" in the documentation was for asciidoc, in which "--"s won't work.
Asciidoctor doesn't have such a problem and will output "\--" verbatim.

Change-Id: I41419b037a10bd830f660d7295aea0d442504229
Fix broken formatting in pgm-init.txt

Change-Id: I8637ac3514ec7858b68292aad589f02ea46e12da