Files
gem5/util
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
..
2011-04-15 10:44:06 -07:00
2009-07-02 16:48:21 -07:00
2011-04-15 10:44:06 -07:00
2015-12-04 17:25:45 -06:00
2016-02-06 17:21:18 -08:00
2006-11-29 13:17:41 -08:00
2016-03-30 15:32:17 +01:00
2014-07-23 16:09:04 -05:00
2016-02-06 17:21:18 -08:00