Exclude renamed files from `check_added_files` checks
Description of bug
check_added_files
was based on git diff-tree --diff-filter=A
where apparently renaming detection is switched off by default so the following would lead to a failed pipeline
Changes introduced
- Add
--find-renames
to the git command
Tests
Adding Madgraph.py
in a pre-existing DSID directory and renaming the jO that was there I get
which is correct. The renamed file does not show up but the added file does. If the check_modified_files
job would run one would also get:
So for a renaming to be successful one should commit with [skip modfiles]
(which is what the intended behaviour was from the beginning).
Issues resolved
Closes #
Edited by Spyros Argyropoulos
Merge request reports
Activity
Filter activity
Please register or sign in to reply