You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This commit was created on GitHub.com and signed with GitHub’s verified signature.
What's Changed
New Features
ignore_year1 config option (#213): Added a new project.ignore_year1 boolean flag in .copywrite.hcl. When set to true, the tool skips updating the start year in existing copyright headers, preserving historically accurate start years (e.g. 2015) even when they differ from copyright_year in config. End-year logic is unaffected — files modified after their copyright end year still get the end year bumped to current year. New files with no copyright header are also unaffected and always receive the config year as the start year.
project {
copyright_year=2024# Preserve original start years in existing headersignore_year1=true
}
Bug Fixes
Removed unused ignore_year2 references from config, CLI, init template, and README.
Documentation
README updated with ignore_year1 behaviour for both source file headers and LICENSE files.
Init template updated to include ignore_year1 as a commented-out option.