gem5/util/style
Rekai Gonzalez Alberquilla ac29b6c6fc util: git pre-commit hook to check staged files
This patch updates the git-pre-commit hook to check the files as they
will be after the commit, instead of as they are currently, this way we
prevent the undesired situation:
    - unstylish modification of a file
    - stage said file for commit
    - try to commit and fail due to style
    - fix style, forgetting staging changes
    - try to commit and fail, as although the changes staged are not
      styly, the current content of the file is.

Change-Id: I5cc3f783375d9e4162e310e176103ebbf0a59023
Reviewed-by: Andreas Sandberg <andreas.sandberg@arm.com>
[andreas.sandberg@arm.com: Rebased ontop of latest gem5]
2016-11-25 10:31:21 +00:00
..
__init__.py style: Refactor the style checker as a Python package 2016-03-30 15:30:32 +01:00
file_types.py style: catch trailing white spaces in make and dts files 2016-06-20 14:49:52 +01:00
region.py style: Refactor the style checker as a Python package 2016-03-30 15:30:32 +01:00
repo.py style: improve compatibility with old git versions 2016-04-28 15:17:50 +01:00
sort_includes.py style: Refactor the style checker as a Python package 2016-03-30 15:30:32 +01:00
style.py style: ignore test data in style checks 2016-04-28 15:19:58 +01:00
verifiers.py util: git pre-commit hook to check staged files 2016-11-25 10:31:21 +00:00