Searched hist:11716 (Results 1 - 2 of 2) sorted by relevance
/gem5/util/ | ||
H A D | git-pre-commit.py | 11716:95a34c2188f2 Fri Nov 25 05:31:00 EST 2016 Rekai Gonzalez Alberquilla <rekai.gonzalezalberquilla@arm.com> 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] |
/gem5/util/style/ | ||
H A D | verifiers.py | 11716:95a34c2188f2 Fri Nov 25 05:31:00 EST 2016 Rekai Gonzalez Alberquilla <rekai.gonzalezalberquilla@arm.com> 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] |
Completed in 10 milliseconds