xapian-check-patch: Exit with status 1 if errors
commit8d09247ef7c757179dac68e7ee58b2004b8e6f93
authorOlly Betts <olly@survex.com>
Tue, 24 Jan 2017 02:37:23 +0000 (24 15:37 +1300)
committerOlly Betts <olly@survex.com>
Tue, 24 Jan 2017 03:23:08 +0000 (24 16:23 +1300)
tree03bdba8938324da141c005a9c9520f0d2242bdfd
parenta31b877ea6cc5b540e163e575ab4b841323f3021
xapian-check-patch: Exit with status 1 if errors

Lack of exit code status reported by James Aylett.

Distinguish "error"/"warning"/"note" - currently everything is an
"error" except:

* Removing a FIXME is a "note" (it's a good thing!)
* Adding a FIXME is a "warning" (it's not good, but we don't want
  people to avoid adding "FIXME" comments to placate the script

Also don't report FIXME issues in ChangeLog files - "Removed FIXME"
is fine in a ChangeLog entry.
xapian-maintainer-tools/xapian-check-patch