-
Notifications
You must be signed in to change notification settings - Fork 0
cehteh/git-analyze-copyright
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
git-analyze-copyright -- check and update copyright information Uses git-blame to determine the author and year edited of each line within the given files. It can check if the year/author appears in an existing copyright notice. This feature can be disabled with the '-n' option. By default missing year/author is reported on stderr. The --append option can be used to append notices to the end of the file (to be properly formatted later). USAGE git analyze-copyright [options..] [files..] OPTIONS -a|--append append missing copyright notices to the end of the file -c|--columns line width for formatting -f|--format format string for the copyright lines replaces %FILE %YEAR %AUTHOR %EMAIL and %LINES %HFILL justifies to --columns -s|--start regex matching the begin of the copyright notice -e|--end regex matching the end of the copyright notice -B|--before-start offset to add before the copyright notice start -A|--after-end offset to add after the copyright notice end -r|--relevant-lines how many line changes are considered relevant -p|--relevant-percent how much percent changes are considered relevant -n|--no-header don't search for existing copyright header --usage|-h show this help
About
Use git-blame to check and update copyright information