Bug #132

Problem with `lint-stable` when changing mode of file

Added by Paul Menzel almost 2 years ago. Updated almost 2 years ago.

Status:ResolvedStart date:07/24/2017
Priority:NormalDue date:
Assignee:Martin Roth% Done:


Target version:-


Running chmod +x on a file, which doesn’t have this mode before, committing this fails, with the error below.

Makefile.inc:559: recipe for target 'lint-stable' failed
make: *** [lint-stable] Error 1
ERROR: Does not appear to be a unified-diff format patch


#1 Updated by Martin Roth almost 2 years ago

  • Assignee set to Martin Roth

I'll take a look. There aren't any files being changed, so there's no update diff for it to handle. I know this would be a problem for checkpatch, but I'm not sure which other lint tools would have the issue.

#2 Updated by Martin Roth almost 2 years ago

  • Status changed from New to Resolved

This was actually a checkpatch error when running the pre-commit githook, but since checkpatch was erroring out, it didn't say that it was checkpatch.

Fixed with https://review.coreboot.org/20781
After the patch is committed, users will need to re-run 'make gitconfig' to get the change.

Also available in: Atom PDF