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

Commit fd854d74 authored by Ian Maund's avatar Ian Maund Committed by Matt Wagantall
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 a93872da
Loading
Loading
Loading
Loading
+0 −6
Original line number Diff line number Diff line
@@ -2304,12 +2304,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 for improperly formed commit descriptions
		if ($in_commit_log &&
		    $line =~ /\bcommit\s+[0-9a-f]{5,}/i &&