Commit 59e2320
pkgdev commit: turn copyright headers into date range when appropriate
In commit 303e3bd the behaviour of
"pkgdev commit" was modified to turn single copyright year lines into
year ranges, but the following commit
51c0f9a reverted that behaviour.
This is a simplified version of the date handling where a single year is
turned into a year range when the given year is not the current year.
This mirrors the behaviour of "repoman commit"
Fixes: https://bugs.gentoo.org/835333
Signed-off-by: Thomas Bracht Laumann Jespersen <t@laumann.xyz>1 parent e289c4a commit 59e2320
2 files changed
Lines changed: 8 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
139 | 139 | | |
140 | 140 | | |
141 | 141 | | |
142 | | - | |
| 142 | + | |
| 143 | + | |
| 144 | + | |
| 145 | + | |
| 146 | + | |
| 147 | + | |
| 148 | + | |
143 | 149 | | |
144 | 150 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
806 | 806 | | |
807 | 807 | | |
808 | 808 | | |
| 809 | + | |
809 | 810 | | |
810 | 811 | | |
811 | 812 | | |
| |||
0 commit comments