diff options
Diffstat (limited to 'Tools/Scripts/webkitpy/tool/steps/validatechangelogs.py')
-rw-r--r-- | Tools/Scripts/webkitpy/tool/steps/validatechangelogs.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Tools/Scripts/webkitpy/tool/steps/validatechangelogs.py b/Tools/Scripts/webkitpy/tool/steps/validatechangelogs.py index e812f94..a27ed77 100644 --- a/Tools/Scripts/webkitpy/tool/steps/validatechangelogs.py +++ b/Tools/Scripts/webkitpy/tool/steps/validatechangelogs.py @@ -44,6 +44,9 @@ class ValidateChangeLogs(AbstractStep): # later than that, assume that the entry is wrong. if diff_file.lines[0][0] < 8: return True + if self._options.non_interactive: + return False + log("The diff to %s looks wrong. Are you sure your ChangeLog entry is at the top of the file?" % (diff_file.filename)) # FIXME: Do we need to make the file path absolute? self._tool.scm().diff_for_file(diff_file.filename) |