Skip to content
GitLab
Projects Groups Topics Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Register
  • Sign in
  • L linux
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributor statistics
    • Graph
    • Compare revisions
  • Issues 0
    • Issues 0
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 0
    • Merge requests 0
  • Deployments
    • Deployments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Commits
  • Issue Boards
Collapse sidebar
  • Kirill Smelkov
  • linux
  • Repository
  • linux
  • scripts
  • checkpatch.pl
Find file BlameHistoryPermalink
  • Christopher Covington's avatar
    checkpatch.pl: add check for Change-Id · 7ebd05ef
    Christopher Covington authored Apr 03, 2014
    A commit hook for the Gerrit code review server [1] inserts change
    identifiers so Gerrit can track patches through multiple revisions.
    These identifiers are noise in the context of the upstream kernel.
    (Many Gerrit servers are private.  Even given a public instance, given
    only a Change-Id, one must guess which server a change was tracked on.
    Patches submitted to the Linux kernel mailing lists should be able to
    stand on their own.  If it's truly useful to reference code review on a
    Gerrit server, a URL is a much clearer way to do so.) Thus, issue an
    error when a Change-Id line is encountered before the Signed-off-by.
    
    1. https://gerrit.googlesource.com/gerrit/+/master/gerrit-server/src/main/resources/com/google/gerrit/server/tools/root/hooks/commit-msg
    
    
    
    Signed-off-by: default avatarChristopher Covington <cov@codeaurora.org>
    Cc: Joe Perches <joe@perches.com>
    Cc: Andy Whitcroft <apw@shadowen.org>
    Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
    Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
    7ebd05ef
GitLab Nexedi Edition | About GitLab | About Nexedi | 沪ICP备2021021310号-2 | 沪ICP备2021021310号-7