summaryrefslogtreecommitdiff
path: root/util/term
diff options
context:
space:
mode:
authorAndreas Sandberg <andreas.sandberg@arm.com>2016-03-30 15:33:04 +0100
committerAndreas Sandberg <andreas.sandberg@arm.com>2016-03-30 15:33:04 +0100
commit22ff270b17f43dc65f0788fec04ca15fd0428ca4 (patch)
tree9a8f7ed02477b1cd79534f6be0fa6e9d9db810b1 /util/term
parent74f62c784d1af5a6be53e3f49010e0e15a0f312e (diff)
downloadgem5-22ff270b17f43dc65f0788fec04ca15fd0428ca4.tar.xz
style: Add repository helper functions
Add an AbstractRepo class and implementations for git and Mercurial that provide a common interface to query repository status for style checkers. The class defines the interfaces to list modified files that are about to be committed and methods to identify changed regions. Signed-off-by: Andreas Sandberg <andreas.sandberg@arm.com> Reviewed-by: Nikos Nikoleris <nikos.nikoleris@arm.com> Reviewed-by: Curtis Dunham <curtis.dunham@arm.com> Reviewed-by: Steve Reinhardt <steve.reinhardt@amd.com> --HG-- rename : util/style.py => util/hgstyle.py extra : rebase_source : da1f482a1ecac2b0be437dc400b4a66bd3b301cc
Diffstat (limited to 'util/term')
0 files changed, 0 insertions, 0 deletions