]> git.ipfire.org Git - thirdparty/bind9.git/commit
Prevent invalid warnings about missing identifiers
authorMichał Kępień <michal@isc.org>
Wed, 3 Jun 2020 13:45:28 +0000 (15:45 +0200)
committerMichał Kępień <michal@isc.org>
Wed, 3 Jun 2020 13:54:11 +0000 (15:54 +0200)
commit3dc4c81cadff007d6868ee257aed4a6196eb657a
tree5229825f88ec54dec76e96ae1168078f667717fe
parent53b3c53d73d00e7287eb2dff3e7e7d5e0f61f513
Prevent invalid warnings about missing identifiers

The Danger script inspects differences between the current version of a
given merge request's target branch and the merge request branch.  If
the latter falls behind the former, the Danger script will wrongly warn
about missing GitLab/RT identifiers because it incorrectly treats the
"+++" diff marker as an indication of the merge request adding new lines
to a file.  Tweak the relevant conditional expression to prevent such
invalid warnings from being raised.

(cherry picked from commit e062812c38787dbd37c95c6dda1d32c9dce6a3c8)
dangerfile.py