[pre-commit hook] TAGS_MISMATCH lists too many files #1822

Closed
opened 2021-02-12 10:25:35 +00:00 by reinhard · 0 comments
Member

If more than one news or event file is committed at the same time and for one of them the TAGS_MISMATCH check fails, all subsequent file names are listed (wrongly) as well.

Example output:

  Your commit introduced 1 files whose tags do not match its
  English original!
  
  - events/2021/event-20210214-02.de.xml
  - events/2021/event-20210217-02.nl.xml

where actually only for the first line the check failed.

If more than one news or event file is committed at the same time and for one of them the TAGS_MISMATCH check fails, all subsequent file names are listed (wrongly) as well. Example output: ``` Your commit introduced 1 files whose tags do not match its English original! - events/2021/event-20210214-02.de.xml - events/2021/event-20210217-02.nl.xml ``` where actually only for the first line the check failed.
max.mehl self-assigned this 2021-02-12 15:23:21 +00:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: FSFE/fsfe-website#1822