coreboot-kgpe-d16/util/lint
Alex Thiessen 73f19dca38 util/lint: Unify checks for git worktree
Linters try to determine whether they are running in a git worktree so
that `git grep` can be used instead of `grep`. These checks are done in
different not truly correct ways and thus the linters don't use `git
grep` when running from a worktree subdirectory, e.g. in a git subtree
environment.

Unify checks using `git rev-parse --is-inside-work-tree`.

Change-Id: I3f54afc99ad0f0e3052cffdd32bdd9649cf3d720
Signed-off-by: Alex Thiessen <alex.thiessen.de+coreboot@gmail.com>
Reviewed-on: https://review.coreboot.org/23297
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Stefan Reinauer <stefan.reinauer@coreboot.org>
2018-01-23 05:42:51 +00:00
..
check_lint_tests lint/check_lint_tests: Add script that will break all stable tests 2016-04-10 18:13:01 +02:00
checkpatch.pl util/lint: update checkpatch & spelling.txt to upstream versions 2017-09-20 01:28:13 +00:00
const_structs.checkpatch util/lint: Update checkpatch & files to upstream linux 2017-06-29 14:42:26 +00:00
kconfig_lint util/lint: update kconfig_lint 2017-07-18 19:08:42 +00:00
kconfig_lint_README util/lint/kconfig_lint: update help checking 2017-06-07 23:12:40 +02:00
lint Makefile.inc: lint: Update to run lint-extended scripts 2017-08-14 18:05:41 +00:00
lint-000-license-headers util/lint: Check license headers of git hooks 2018-01-10 09:50:37 +00:00
lint-001-no-global-config-in-romstage tree: drop last paragraph of GPL copyright header 2015-10-31 21:37:39 +01:00
lint-007-checkpatch util/lint: Don't run checkpatch on the documentation 2017-04-24 19:18:06 +02:00
lint-008-kconfig util/lint: Unify checks for git worktree 2018-01-23 05:42:51 +00:00
lint-014-qualified-types util/lint: Unify checks for git worktree 2018-01-23 05:42:51 +00:00
lint-016-non-ascii util/lint: Unify checks for git worktree 2018-01-23 05:42:51 +00:00
lint-extended-007-checkpatch util/lint: add extended stable checkpatch for testing 2017-08-14 18:05:02 +00:00
lint-extended-015-final-newlines util/lint: Unify checks for git worktree 2018-01-23 05:42:51 +00:00
lint-extended-020-signed-off-by util/lint: Unify checks for git worktree 2018-01-23 05:42:51 +00:00
lint-stable-000-license-headers util/lint: Update license header lint scripts 2017-08-10 15:53:17 +00:00
lint-stable-003-whitespace util/lint: ignore some more binary file types 2017-05-25 23:04:29 +02:00
lint-stable-004-style-labels util/lint: Unify checks for git worktree 2018-01-23 05:42:51 +00:00
lint-stable-005-board-status lint: Update board status script to look at the whole tree 2016-03-29 23:30:47 +02:00
lint-stable-006-board-name lint: Add check for new board name scheme 2015-04-18 08:31:36 +02:00
lint-stable-008-kconfig util/lint: Unify checks for git worktree 2018-01-23 05:42:51 +00:00
lint-stable-009-old-licenses Add minimal GNAT run time system (RTS) 2016-09-19 11:14:49 +02:00
lint-stable-010-asm-syntax util/lint: exclude patch files from asm syntax check 2017-07-21 15:55:21 +00:00
lint-stable-012-executable-bit lint-stable: Only check files tracked by git (ie source files) for +x 2017-12-05 15:04:11 +00:00
lint-stable-013-site-local util/lint: Unify checks for git worktree 2018-01-23 05:42:51 +00:00
lint-stable-017-configs util/lint: Unify checks for git worktree 2018-01-23 05:42:51 +00:00
lint-stable-018-symlinks util/lint: Unify checks for git worktree 2018-01-23 05:42:51 +00:00
lint-stable-019-header-files util/lint: Unify checks for git worktree 2018-01-23 05:42:51 +00:00
lint-stable-021-coreboot-lowercase util/lint: Unify checks for git worktree 2018-01-23 05:42:51 +00:00
remccoms3.sed
spelling.txt util/lint: update checkpatch & spelling.txt to upstream versions 2017-09-20 01:28:13 +00:00