Commit graph

2 commits

Author SHA1 Message Date
Luca Pizzamiglio
302c208fc5 Component: git hooks
Add common error function in hooks
Error messages are printed in stderr

Reviewed By: tcberner, #portmgr
Differential Revision: https://reviews.freebsd.org/D38026
2023-01-12 22:09:50 +01:00
Tobias C. Berner
951773c013 framework: add new hook to validate MOVED lines
A possible error message will look like:

[pre-commit] ERROR: MOVED contains errors.
                    Please apply the suggested changes:

17537: date going backwards from 2022-08-20 to 2022-08-13 from this line
17538: date going backwards from 2022-08-20 to 2022-08-13 to this line

Reviewed by:		bapt
Differential Revision:	https://reviews.freebsd.org/D35042
2022-08-23 15:08:11 +02:00