coreboot-kgpe-d16/util/gitconfig
Patrick Georgi 9110c17668 util/gitconfig: improve robustness of checkpatch in pre-commit
Users can have non-default configurations as to how git diff et al are
presenting file names in diffs (default: a/ and b/ prefixes). checkpatch
expects that and trims the first element, so enforce that configuration
for the diff that's sent into it.

Change-Id: I099795119456a73c900b31ce191c2d9e898a5c7e
Signed-off-by: Patrick Georgi <pgeorgi@chromium.org>
Reviewed-on: https://review.coreboot.org/26694
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Nico Huber <nico.h@gmx.de>
Reviewed-by: Martin Roth <martinroth@google.com>
2018-05-30 17:11:51 +00:00
..
commit-msg lint: update signed-off-by check 2017-08-17 11:26:31 +00:00
gitconfig.sh util/gitconfig: Replace printf with heredoc 2018-01-23 05:22:40 +00:00
pre-commit util/gitconfig: improve robustness of checkpatch in pre-commit 2018-05-30 17:11:51 +00:00