Try Moore!1043 fix for check-formatting

3 jobs for !54 with rjhunter-follow-Mooore1043 in 19 seconds (queued for 3 seconds)
latest merge request
Name Stage Failure
failed
check-copyright Test
    main()
File "lb-check-copyright", line 510, in check_copyright
for path in get_files(args.reference)
File "lb-check-copyright", line 130, in get_files
".",
File "/usr/lib64/python2.7/subprocess.py", line 575, in check_output
raise CalledProcessError(retcode, cmd, output=output)
subprocess.CalledProcessError: Command '['git', 'diff', '--name-only', '--no-renames', '--diff-filter=MA', '-z', 'origin/master...', '.']' returned non-zero exit status 128
Cleaning up file based variables
ERROR: Job failed: exit code 1
failed
check-formatting Test
    return run(*popenargs, stdout=PIPE, timeout=timeout, check=True,
File "/cvmfs/lhcb.cern.ch/lib/var/lib/LbEnv/2199/stable/linux-64/lib/python3.8/subprocess.py", line 516, in run
raise CalledProcessError(retcode, process.args,
subprocess.CalledProcessError: Command '['git', 'diff', '--name-only', '--no-renames', '--diff-filter=MA', '-z', 'origin/master...', '.']' returned non-zero exit status 128.
Uploading artifacts for failed job
Uploading artifacts...
WARNING: apply-formatting.patch: no matching files
ERROR: No files to upload
Cleaning up file based variables
ERROR: Job failed: exit code 1