Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 0cf65925 authored by Ian Maund's avatar Ian Maund Committed by Kyle Yan
Browse files

Revert "checkpatch.pl: add check for Change-Id"



This reverts commit 7ebd05ef.

Our process requires Change-Id lines in our commit text while upstream
considers them to be "noise". Remove the blocking checkpatch error for
having a gerrit Change-Id line in the commit text.

Change-Id: I21c6f0e11ecd94facfc2b9a3bbfee4ed4d39609f
Signed-off-by: default avatarIan Maund <imaund@codeaurora.org>
parent 2d8d1851
Loading
Loading
Loading
Loading
+0 −6
Original line number Diff line number Diff line
@@ -2368,12 +2368,6 @@ sub process {
			      "The 'stable' address should be 'stable\@vger.kernel.org'\n" . $herecurr);
		}

# Check for unwanted Gerrit info
		if ($in_commit_log && $line =~ /^\s*change-id:/i) {
			ERROR("GERRIT_CHANGE_ID",
			      "Remove Gerrit Change-Id's before submitting upstream.\n" . $herecurr);
		}

# Check if the commit log is in a possible stack dump
		if ($in_commit_log && !$commit_log_possible_stack_dump &&
		    ($line =~ /^\s*(?:WARNING:|BUG:)/ ||