Browse Source

Correct the license check README on merge-added rename sources

pull/16341/head
Viacheslav Klimov 2 months ago
parent
commit
67fa5bf9b4
Failed to extract signature
  1. 5
      tools/src/main/python/license-headers/README.md

5
tools/src/main/python/license-headers/README.md

@ -33,8 +33,9 @@ relicensing commit, the check follows the source path the same way from the
parent of the rename. The chain ends at a source that no commit after the CE parent of the rename. The chain ends at a source that no commit after the CE
commits added and whose path exists in the CE commits merged into the parent of commits added and whose path exists in the CE commits merged into the parent of
the rename. Any other source, such as a CE file deleted and restored or a file the rename. Any other source, such as a CE file deleted and restored or a file
that a merge added, counts as CE only when, without the header, it is at least 50% a merge added at a path the CE commits merged before the rename did not have,
similar to the CE version of its path; otherwise the file needs a decision, and counts as CE only when, without the header, it is at least 50% similar to the CE
version of its path; otherwise the file needs a decision, and
so does a file whose chain runs through a path that parallel branches added so does a file whose chain runs through a path that parallel branches added
separately. Git scores a rename with the header included, so each rename in the separately. Git scores a rename with the header included, so each rename in the
chain counts only when the file without the header is at least 50% similar chain counts only when the file without the header is at least 50% similar

Loading…
Cancel
Save